Usage (signatures)
board.create('hyperbola', [point1, point2, point3, startopt, endopt]);
Parent elements can be three elements either of type JXG.Point or array of numbers describing the coordinates of a point. In the latter case the point will be constructed automatically as a fixed invisible point.
Parameters
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
point1 |
PointLike | |||
point2 |
PointLike | |||
point3 |
PointLike | |||
start |
Number |
<optional> |
-π
|
parameter of the curve start, default: -π. |
end |
Number |
<optional> |
π
|
parameter for the curve end, default: π. |
Example
Create an hyperbola by three points
var A = board.create('point', [-1,4]);
var B = board.create('point', [-1,-4]);
var C = board.create('point', [1,1]);
var el = board.create('hyperbola',[A,B,C]);
board.create('hyperbola', [point1, point2, number, startopt, endopt]);
Parent elements can be two elements either of type JXG.Point or array of numbers describing the coordinates of a point. The third parameter is a number/function which defines the length of the major axis
Parameters
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
point1 |
PointLike | |||
point2 |
PointLike | |||
number |
NumberLike | |||
start |
Number |
<optional> |
-π
|
parameter of the curve start, default: -π. |
end |
Number |
<optional> |
π
|
parameter for the curve end, default: π. |
Attributes
Own
none
Inherited
Members
Own
none
Inherited
Events
Own
none