Class Conic
JXG.GeometryElement
↳ JXG.Curve
↳ Conic
This element is used to provide a constructor for a generic conic section uniquely defined by five points.
Defined in: conic.js.
Extends
JXG.Curve.
Constructor Attributes | Constructor Name and Description |
---|---|
Conic(a,b,c,d,e, a_00,a_11,a_22,a_01,a_12,a_22)
|
- Fields borrowed from class JXG.Curve:
- dataX, dataY, numberPoints, qdt
- Fields borrowed from class JXG.GeometryElement:
- _org_type, _pos, ancestors, baseElement, board, childElements, dash, descendants, draft, dump, elementClass, elType, fillColor, fillOpacity, fixed, frozen, hasLabel, highlight, highlighted, highlightFillColor, highlightFillOpacity, highlightStrokeColor, highlightStrokeOpacity, highlightStrokeWidth, id, inherits, isDraggable, isReal, lastDragTime, methodMap, mouseover, name, needsRegularUpdate, needsUpdate, notExistingParents, numTraces, parents, quadraticform, rendNode, scalable, shadow, snapToGrid, stdform, strokeColor, strokeOpacity, strokeWidth, subs, symbolic, trace, traceAttributes, traces, transformations, transitionDuration, type, visible, visProp, visPropCalc, withLabel
Field Attributes | Field Name and Description |
---|---|
Attributes for center point.
|
|
Attributes for foci points.
|
|
Attributes for five points defining the conic, if some of them are given as coordinates.
|
- Fields borrowed from class JXG.Curve:
- dataX, dataY, numberPoints, qdt
- Fields borrowed from class JXG.GeometryElement:
- _org_type, _pos, ancestors, baseElement, board, childElements, dash, descendants, draft, dump, elementClass, elType, fillColor, fillOpacity, fixed, frozen, hasLabel, highlight, highlighted, highlightFillColor, highlightFillOpacity, highlightStrokeColor, highlightStrokeOpacity, highlightStrokeWidth, id, inherits, isDraggable, isReal, lastDragTime, methodMap, mouseover, name, needsRegularUpdate, needsUpdate, notExistingParents, numTraces, parents, quadraticform, rendNode, scalable, shadow, snapToGrid, stdform, strokeColor, strokeOpacity, strokeWidth, subs, symbolic, trace, traceAttributes, traces, transformations, transitionDuration, type, visible, visProp, visPropCalc, withLabel
- Methods borrowed from class JXG.Curve:
- _borderCase, _insertPoint, _intersectWithBorder, _isOutside, _isUndefined, _plotRecursive, _triangleDists, addTransform, allocatePoints, checkReal, generateTerm, hasPoint, interpolationFunctionFromArray, isDistOK, isSegmentDefined, isSegmentOutside, maxX, minX, notifyParents, update, updateCurve, updateDataArray, updateParametricCurve, updateParametricCurveNaive, updateParametricCurveOld, updateRenderer, updateTransform, X, Y, Z
- Methods borrowed from class JXG.GeometryElement:
- _set, addChild, addDescendants, addParents, addRotation, animate, bounds, clearTrace, cloneToBackground, countChildren, createGradient, createLabel, draggable, fullUpdate, generatePolynomial, getAttribute, getAttributes, getLabelAnchor, getName, getParents, getProperty, getTextAnchor, getType, handleSnapToGrid, hideElement, labelColor, noHighlight, normalize, prepareUpdate, remove, removeChild, removeDescendants, resolveShortcuts, setArrow, setAttribute, setDash, setDisplayRendNode, setLabel, setLabelText, setName, setParents, setPosition, setPositionDirectly, setProperty, showElement, snapToPoints, updateVisibility
- 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(a,b,c,d,e, a_00,a_11,a_22,a_01,a_12,a_22)
- Parameters:
- {JXG.Point|Array_JXG.Point|Array_JXG.Point|Array_JXG.Point|Array_JXG.Point|Array} a,b,c,d,e
- Parent elements are five points.
- {Number_Number_Number_Number_Number_Number} a_00,a_11,a_22,a_01,a_12,a_22
- 6 numbers
- Throws:
- {Exception}
- If the element cannot be constructed with the given parent objects an exception is thrown.
- Examples:
// 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]);
Field Detail
{Point}
center
Attributes for center point.
Defined in: options.js.
Defined in: options.js.
{Point}
foci
Attributes for foci points.
Defined in: options.js.
Defined in: options.js.
{Point}
point
Attributes for five points defining the conic, if some of them are given as coordinates.
Defined in: options.js.
Defined in: options.js.