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, 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
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 Fri Nov 09 2012 23:02:25 GMT+0100 (MEZ)