Class Index | File Index

Classes


Class Perpendicularpoint


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

Class Summary
Constructor Attributes Constructor Name and Description
 
A perpendicular 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
Perpendicularpoint(p,l)
A perpendicular point is given by a point and a line. It is determined by projecting the given point orthogonal onto 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 pp1 = board.create('perpendicularpoint', [p3, l1]);

				
				
				
				
					
						
Parameters:
{JXG.Line_JXG.Point} p,l
The constructed point is the orthogonal projection of p onto 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 Thu May 05 2011 11:58:37 GMT-0000 (UTC)