Class Index | File Index

Classes


Class Parallelpoint


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

Class Summary
Constructor Attributes Constructor Name and Description
 
Parallelpoint(p1,p2,p3, l,p)
A parallel point is given by three points.
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
Parallelpoint(p1,p2,p3, l,p)
A parallel point is given by three points. Taking the euclidean vector from the first to the second point, the parallel point is determined by adding that vector to the third point. The line determined by the first two points is parallel to the line determined by the third point and the constructed point.
var p1 = board.create('point', [0.0, 2.0]);
var p2 = board.create('point', [2.0, 1.0]);
var p3 = board.create('point', [3.0, 3.0]);

var pp1 = board.create('parallelpoint', [p1, p2, p3]);

				
				
				
				
					
						
Parameters:
{JXG.Point_JXG.Point_JXG.Point} p1,p2,p3
Taking the euclidean vector v=p2-p1 the parallel point is determined by p4 = p3+v
{JXG.Line_JXG.Point} l,p
The resulting point will together with p specify a line which is parallel to 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 Oct 25 2011 00:43:20 GMT-0000 (UTC)