Element Bisectorlines
JXG.Composition
↳ Bisectorlines
Bisector lines are similar to Bisector but take two lines as parent elements. The resulting element is
a composition of two lines.
Defined in: composition.js.
Extends
JXG.Composition.
Constructor Attributes | Constructor Name and Description |
---|---|
Field Attributes | Field Name and Description |
---|---|
Attributes for first line.
|
|
Attributes for second line.
|
- Methods borrowed from class JXG.Composition:
- add, fullUpdate, highlight, noHighlight, prepareUpdate, remove, setAttribute, setParents, update, updateRenderer
Element Detail
Bisectorlines
-
This element has no direct constructor. To create an instance of this element you have to call JXG.Board#create
with type "bisectorlines".
- Possible parent array combinations are:
-
{JXG.Line} l1
{JXG.Line} l2
- The four angles described by the lines l1 and l2 will each be divided into two equal angles.
- Throws:
- {Error}
- If the element cannot be constructed with the given parent objects an exception is thrown.
- Examples:
var p1 = board.create('point', [6.0, 4.0]); var p2 = board.create('point', [3.0, 2.0]); var p3 = board.create('point', [1.0, 7.0]); var p4 = board.create('point', [3.0, 0.0]); var l1 = board.create('line', [p1, p2]); var l2 = board.create('line', [p3, p4]); var bi1 = board.create('bisectorlines', [l1, l2]);
Attribute Detail
{Line}
line1
Attributes for first line.
Defined in: options.js.
Defined in: options.js.
{Line}
line2
Attributes for second line.
Defined in: options.js.
Defined in: options.js.
Attributes borrowed from other Elements
Fields borrowed from other Elements
Methods borrowed from other Elements
- Methods borrowed from class JXG.Composition:
- add, fullUpdate, highlight, noHighlight, prepareUpdate, remove, setAttribute, setParents, update, updateRenderer
Events borrowed from other Elements