Usage (signatures)
board.create('polarline', [conic, point]);
The result will be the polar line of the point with respect to the conic or the circle. The order of the parameters does not matter.
Parameters
| Name | Type | Description |
|---|---|---|
conic |
Conic | Circle | |
point |
Point |
Examples
// Create the polar line of a point with respect to a conic
var p1 = board.create('point', [-1, 2]);
var p2 = board.create('point', [ 1, 4]);
var p3 = board.create('point', [-1,-2]);
var p4 = board.create('point', [ 0, 0]);
var p5 = board.create('point', [ 4,-2]);
var c1 = board.create('conic',[p1,p2,p3,p4,p5]);
var p6 = board.create('point', [-1, 1]);
var l1 = board.create('polarline', [c1, p6]);
// Create the polar line of a point with respect to a circle.
var p1 = board.create('point', [ 1, 1]);
var p2 = board.create('point', [ 2, 3]);
var c1 = board.create('circle',[p1,p2]);
var p3 = board.create('point', [ 6, 6]);
var l1 = board.create('polarline', [c1, p3]);
Attributes
Own
none
Inherited
Members
Own
none
Inherited
Methods
Own
none
Inherited
Events
Own
none
Inherited
Throws
-
If the element cannot be constructed with the given parent objects an exception is thrown.
- Type
- Exception
Details
- Type
- JXG.Line
- Source
- base/line.js, line 3031