Class Index | File Index

Classes


Class Locus


Extends JXG.Curve.
This element is used to visualize the locus of a given dependent point.
Defined in: Composition.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Locus(p)
The locus element is used to visualize the curve a given point describes.
Fields borrowed from class JXG.Curve:
curveType, doAdvancedPlot, numberPoints, numberPointsHigh, numberPointsLow
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.Curve:
allocatePoints, cloneToBackground, generateTerm, getLabelAnchor, hasPoint, maxX, minX, notifyParents, update, updateCurve, updateDataArray, updateRenderer, X, Y
Methods borrowed from class JXG.GeometryElement:
addChild, addLabelToElement, animate, clearTrace, hideElement, highlight, labelColor, noHighlight, remove, setArrow, setProperty, showElement
Class Detail
Locus(p)
The locus element is used to visualize the curve a given point describes.
 // This examples needs JXG.Server up and running, otherwise it won't work.
 p1 = board.create('point', [0, 0]);
 p2 = board.create('point', [6, -1]);
 c1 = board.create('circle', [p1, 2]);
 c2 = board.create('circle', [p2, 1.5]);
 g1 = board.create('glider', [6, 3, c1]);
 c3 = board.create('circle', [g1, 4]);
 g2 = board.create('intersection', [c2,c3,0]);
 m1 = board.create('midpoint', [g1,g2]);
 loc = board.create('locus', [m1], {strokeColor: 'red'});

				
				
				
				
					
						
Parameters:
{JXG.Point} p
The constructed curve is the geometric locus of the given point.
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)