Usage (signatures)
board.create('conic', [A, B, C, D, E]);
Parent elements are five points.
Parameters
| Name | Type | Description |
|---|---|---|
A |
PointLike | |
B |
PointLike | |
C |
PointLike | |
D |
PointLike | |
E |
PointLike |
Example
Create a conic section through the points A, B, C, D, and E
var A = board.create('point', [1,5]);
var B = board.create('point', [1,2]);
var C = board.create('point', [2,0]);
var D = board.create('point', [0,0]);
var E = board.create('point', [-1,5]);
var conic = board.create('conic',[A,B,C,D,E]);
board.create('conic', [a_00, a_11, a_22, a_01, a_02, a_12]);
Parent elements are 6 numbers, i.e. A, C, F, B/2, D/2, E/2
Parameters
| Name | Type | Description |
|---|---|---|
a_00 |
NumberLike | |
a_11 |
NumberLike | |
a_22 |
NumberLike | |
a_01 |
NumberLike | |
a_02 |
NumberLike | |
a_12 |
NumberLike |
Example
Conic given by numbers A, C, F, B/2, D/2, E/2
var conic = board.create('conic', [1, 2, -4, 0, 0, 0]);
Attributes
Own
center
- Description
Attributes for center point.
- Type
- Point
- Source
- options.js, line 5175
foci
- Description
Attributes for foci points.
- Type
- Point
- Source
- options.js, line 5160
line
- Description
Attributes for parabola line in case the line is given by two points or coordinate pairs.
- Type
- Line
- Source
- options.js, line 5200
point
- Description
Attributes for five points defining the conic, if some of them are given as coordinates.
- Type
- Point
- Source
- options.js, line 5188
Inherited
Members
Own
none
Inherited
Events
Own
none