Class Index | File Index

Classes


Class Conic


Extends JXG.Curve.
This element is used to provide a constructor for a generic conic section uniquely defined by five points.
Defined in: Conic.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Conic(point,point,point,point,point, 6)
Fields borrowed from class JXG.Curve:
curveType, handDrawing, numberPoints
Fields borrowed from class JXG.GeometryElement:
addEvent, ancestors, board, childElements, dash, descendants, draft, dump, elementClass, elType, eventHandlers, fillColor, fillOpacity, fixed, frozen, getAttribute, hasLabel, highlight, highlighted, highlightFillColor, highlightFillOpacity, highlightStrokeColor, highlightStrokeOpacity, highlightStrokeWidth, id, isDraggable, isReal, methodMap, mouseover, name, needsRegularUpdate, needsUpdate, notExistingParents, numTraces, quadraticform, removeEvent, scalable, shadow, snapToGrid, stdform, strokeColor, strokeOpacity, strokeWidth, subs, symbolic, trace, traceAttributes, traces, transformations, type, visible, visProp, withLabel
Methods borrowed from class JXG.Curve:
addTransform, allocatePoints, generateTerm, hasPoint, isDistOK, isSegmentOutside, maxX, minX, notifyParents, setPosition, setPositionDirectly, update, updateCurve, updateDataArray, updateParametricCurve, updateParametricCurveNaive, updateRenderer, updateTransform, Z
Methods borrowed from class JXG.GeometryElement:
addChild, addRotation, animate, bounds, clearTrace, cloneToBackground, createLabel, getAttributes, getLabelAnchor, getName, getParents, getProperty, getTextAnchor, getType, hideElement, labelColor, noHighlight, off, on, remove, resolveShortcuts, setArrow, setAttribute, setLabelText, setProperty, showElement, triggerEventHandlers
Events borrowed from class JXG.GeometryElement:
attribute, attribute:<attribute><attribute>, down, drag, mousedown, mousedrag, mousemove, mouseout, mouseover, mouseup, move, out, over, touchdown, touchdrag, touchup, up
Class Detail
Conic(point,point,point,point,point, 6)
// Create a conic section through the points A, B, C, D, and E.
 var A = board.create('point', [1,5]);
 var B = board.create('point', [1,2]);
 var C = board.create('point', [2,0]);
 var D = board.create('point', [0,0]);
 var E = board.create('point', [-1,5]);
 var conic = board.create('conic',[A,B,C,D,E]);

				
				
				
				
					
						
Parameters:
{JXG.Point|array_JXG.Point|array_JXG.Point|array_JXG.Point|array_JXG.Point|array_} point,point,point,point,point
Parent elements are five points.
{number_number_number_number_number_number} 6
numbers (a_00,a_11,a_22,a_01,a_12,a_22)
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 30 2013 23:22:12 GMT+0200 (CEST)