Class Index | File Index

Classes


Class Reflection


Extends JXG.Point.
This element is used to construct a reflected point.
Defined in: Composition.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Reflection(p,l)
A reflected point is given by a point and a line.
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
Reflection(p,l)
A reflected point is given by a point and a line. It is determined by the reflection of the given point against the given line.
var p1 = board.create('point', [0.0, 4.0]);
var p2 = board.create('point', [6.0, 1.0]);
var l1 = board.create('line', [p1, p2]);
var p3 = board.create('point', [3.0, 3.0]);

var rp1 = board.create('reflection', [p3, l1]);

				
				
				
				
					
						
Parameters:
{JXG.Point_JXG.Line} p,l
The reflection point is the reflection of p against l.
Throws:
{Exception}
If the element cannot be constructed with the given parent objects an exception is thrown.

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Mar 12 2013 19:06:08 GMT-0000 (UTC)