Methods
Own
(static) coords(c, copyopt) → {JXG.Coords}
Normalize points and coord objects into a coord object.
Parameters
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
c |
Point | JXG.Coords | |||
copy |
Boolean |
<optional> |
false
|
Return a copy, not a reference |
Returns
- Type
- JXG.Coords
Details
- Source
- utils/expect.js, line 82
(static) coordsArray(c, copyopt) → {Array}
Normalize points, coordinate arrays and coord objects into a coordinate array.
Parameters
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
c |
Point | JXG.Coords | Array | |||
copy |
Boolean |
<optional> |
false
|
Return a copy, not a reference |
Returns
Homogeneous coordinates
- Type
- Array
Details
- Source
- utils/expect.js, line 106
(static) each(a, format, copyopt) → {Array}
Apply an expect method on every element of an array.
Parameters
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
a |
Array | |||
format |
function | |||
copy |
Boolean |
<optional> |
false
|
Returns
- Type
- Array
Details
- Source
- utils/expect.js, line 59
Inherited
none