Class Bisectorlines
Extends
JXG.Composition.
Bisector lines are similar to Bisector but takes two lines as parent elements. The resulting element is
a composition of two lines.
Defined in: Composition.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Bisectorlines(l1,l2)
|
Field Attributes | Field Name and Description |
---|---|
First line.
|
|
Second line.
|
- Methods borrowed from class JXG.Composition:
- add, highlight, noHighlight, prepareUpdate, remove, setProperty, update, updateRenderer
Class Detail
Bisectorlines(l1,l2)
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]);
- Parameters:
- {JXG.Line_JXG.Line} l1,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.
Field Detail
{Line}
line1
First line.
{Line}
line2
Second line.