Class Bisector
Extends
JXG.Line.
Provides a constructor for an angle bisector.
Defined in: Composition.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Bisector(p1,p2,p3)
A bisector is a line which divides an angle into two equal angles.
|
- Fields borrowed from class JXG.Line:
- defaultTicks, firstArrow, lastArrow, point1, point2, straightFirst, straightLast, ticks
- Fields borrowed from class JXG.GeometryElement:
- ancestors, board, childElements, dash, descendants, draft, fillColor, fillOpacity, fixed, hasLabel, highlightFillColor, highlightFillOpacity, highlightStrokeColor, highlightStrokeOpacity, highlightStrokeWidth, id, isReal, layer, name, needsRegularUpdate, needsUpdate, notExistingParents, numTraces, quadraticform, shadow, stdform, strokeColor, strokeOpacity, strokeWidth, symbolic, trace, traces, transformations, visible, visProp
- Methods borrowed from class JXG.Line:
- addTicks, addTransform, cloneToBackground, getRise, getSlope, hasPoint, removeAllTicks, removeTicks, setPosition, X, Y, Z
- Methods borrowed from class JXG.GeometryElement:
- addChild, addLabelToElement, animate, clearTrace, hideElement, highlight, labelColor, noHighlight, remove, setArrow, setProperty, showElement, update
Class Detail
Bisector(p1,p2,p3)
A bisector is a line which divides an angle into two equal angles. It is given by three points A, B, and C and divides the angle ABC into two
equal sized parts.
// Create a normal to a circle. 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 bi1 = board.create('bisector', [p1, p2, p3]);
- Parameters:
- {JXG.Point_JXG.Point_JXG.Point} p1,p2,p3
- The angle described by p3 will be divided into two equal angles.
- Throws:
- {Exception}
- If the element cannot be constructed with the given parent objects an exception is thrown.