JavaScript must be enabled in order for you to use JSXGraph and JSXGraph reference. However, it seems JavaScript is either disabled or not supported by your browser.

Class Index | File Index

Elements
Classes

Namespace JXG.Expect


      ↳ JXG.Expect



Defined in: expect.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
The JXG.Expect namespace provides method to normalize access on coordinates, i.e.
Method Summary
Method Attributes Method Name and Description
<static>  
JXG.Expect.coords(c, copy)
Normalize points and coord objects into a coord object.
<static>  
JXG.Expect.coordsArray(c, copy)
Normalize points, coordinate arrays and coord objects into a coordinate array.
<static>  
JXG.Expect.each(a, format, copy)
Apply an expect method on every element of an array.
Namespace Detail
JXG.Expect
The JXG.Expect namespace provides method to normalize access on coordinates, i.e. provides utilities for parameter magic by normalizing multi-type parameters.
Method Detail
<static> {JXG.Coords} JXG.Expect.coords(c, copy)
Normalize points and coord objects into a coord object.
Parameters:
{JXG.Point|JXG.Coords} c
{Boolean} copy Optional, Default: false
Return a copy, not a reference
Returns:
{JXG.Coords}

<static> {Array} JXG.Expect.coordsArray(c, copy)
Normalize points, coordinate arrays and coord objects into a coordinate array.
Parameters:
{JXG.Point|JXG.Coords|Array} c
{Boolean} copy Optional, Default: false
Return a copy, not a reference
Returns:
{Array} Homogeneous coordinates

<static> {Array} JXG.Expect.each(a, format, copy)
Apply an expect method on every element of an array.
Parameters:
{Array} a
{function} format
{Boolean} copy Optional, Default: false
Returns:
{Array}

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Oct 23 2024 15:44:13 GMT+0200 (Mitteleuropäische Sommerzeit)