Class Mirrorpoint
Extends
JXG.Point.
A mirror point will be constructed.
Defined in: Composition.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Mirrorpoint(p1,p2)
A mirror point is determined by the reflection of a given point against another given point.
|
- Fields borrowed from class JXG.Point:
- face, fixed, showInfobox, size, style
- Fields borrowed from class JXG.GeometryElement:
- ancestors, board, childElements, dash, descendants, draft, fillColor, fillOpacity, 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.Point:
- addConstraint, addTransform, cloneToBackground, Dist, makeGlider, moveAlong, moveTo, normalizeFace, remove, setPosition, setPositionByTransform, setPositionDirectly, update, updateTransform, visit, X, Y, Z
- Methods borrowed from class JXG.GeometryElement:
- addChild, addLabelToElement, animate, clearTrace, hideElement, highlight, labelColor, noHighlight, setArrow, setProperty, showElement
Class Detail
Mirrorpoint(p1,p2)
A mirror point is determined by the reflection of a given point against another given point.
var p1 = board.create('point', [3.0, 3.0]); var p2 = board.create('point', [6.0, 1.0]); var mp1 = board.create('mirrorpoint', [p1, p2]);
- Parameters:
- {JXG.Point_JXG.Point} p1,p2
- The constructed point is the reflection of p2 against p1.
- Throws:
- {Exception}
- If the element cannot be constructed with the given parent objects an exception is thrown.