Class JXG.Curve3D
JXG.GeometryElement3D,JXG.GeometryElement
↳ JXG.Curve3D
Creates a new 3D curve object. Do not use this constructor to create a 3D curve. Use JXG.View3D#create with type Curve3D instead.
Defined in: curve3d.js.
Extends
JXG.GeometryElement, JXG.GeometryElement3D.
Constructor Attributes | Constructor Name and Description |
---|---|
JXG.Curve3D(view, F, X, Y, Z, range, attributes)
Constructor for 3D curves.
|
- Fields borrowed from class JXG.GeometryElement3D:
- element2D, is3D, view
- Fields borrowed from class JXG.GeometryElement:
- _org_type, _pos, ancestors, aria, baseElement, board, childElements, cssClass, dash, dashScale, descendants, draft, dragToTopOfLayer, dump, element3D, elementClass, elType, fillColor, fillOpacity, fixed, frozen, gradient, gradientAngle, gradientCX, gradientCY, gradientEndOffset, gradientFR, gradientFX, gradientFY, gradientR, gradientSecondColor, gradientSecondOpacity, gradientStartOffset, hasLabel, highlight, highlightCssClass, highlighted, highlightFillColor, highlightFillOpacity, highlightStrokeColor, highlightStrokeOpacity, highlightStrokeWidth, id, inherits, isDraggable, isLabel, isReal, lastDragTime, layer, lineCap, methodMap, mouseover, name, needsRegularUpdate, needsUpdate, nonnegativeOnly, notExistingParents, numTraces, parents, precision, priv, quadraticform, rendNode, rotatable, scalable, shadow, snapToGrid, stdform, strokeColor, strokeOpacity, strokeWidth, subs, symbolic, tabindex, trace, traceAttributes, traces, transformations, transitionDuration, transitionProperties, type, visible, visProp, visPropCalc, withLabel
- Fields borrowed from class JXG.GeometryElement3D:
- element2D, is3D, view
- Fields borrowed from class JXG.GeometryElement:
- _org_type, _pos, ancestors, aria, baseElement, board, childElements, cssClass, dash, dashScale, descendants, draft, dragToTopOfLayer, dump, element3D, elementClass, elType, fillColor, fillOpacity, fixed, frozen, gradient, gradientAngle, gradientCX, gradientCY, gradientEndOffset, gradientFR, gradientFX, gradientFY, gradientR, gradientSecondColor, gradientSecondOpacity, gradientStartOffset, hasLabel, highlight, highlightCssClass, highlighted, highlightFillColor, highlightFillOpacity, highlightStrokeColor, highlightStrokeOpacity, highlightStrokeWidth, id, inherits, isDraggable, isLabel, isReal, lastDragTime, layer, lineCap, methodMap, mouseover, name, needsRegularUpdate, needsUpdate, nonnegativeOnly, notExistingParents, numTraces, parents, precision, priv, quadraticform, rendNode, rotatable, scalable, shadow, snapToGrid, stdform, strokeColor, strokeOpacity, strokeWidth, subs, symbolic, tabindex, trace, traceAttributes, traces, transformations, transitionDuration, transitionProperties, type, visible, visProp, visPropCalc, withLabel
Method Attributes | Method Name and Description |
---|---|
<private> |
_F()
Internal function defining the surface without applying any transformations.
|
<private> |
_X()
Function or array which maps u to x; i.e.
|
<private> |
_Y()
Function or array which maps u to y; i.e.
|
<private> |
_Z()
Function or array which maps u to z; i.e.
|
evalF(u)
Generic function which evaluates the function term of the curve
and applies its transformations.
|
|
F(u)
Function defining the curve plus applying transformations.
|
|
Simple curve plotting algorithm.
|
|
X(u)
Function which maps (u) to z; i.e.
|
|
Y(u)
Function which maps (u) to y; i.e.
|
|
Z(u)
Function which maps (u) to z; i.e.
|
- Methods borrowed from class JXG.GeometryElement:
- _set, addChild, addDescendants, addParents, addParentsFromJCFunctions, addRotation, addTicks, addTransform, animate, bounds, clearTrace, cloneToBackground, countChildren, createGradient, createLabel, draggable, eval, evalVisProp, formatNumberLocale, fullUpdate, generatePolynomial, getAttribute, getAttributes, getLabelAnchor, getName, getParents, getProperty, getSnapSizes, getTextAnchor, getType, handleSnapToGrid, hasPoint, hide, hideElement, noHighlight, normalize, prepareUpdate, remove, removeAllTicks, removeChild, removeDescendants, removeTicks, resolveShortcuts, setArrow, setAttribute, setDash, setDisplayRendNode, setLabel, setLabelText, setName, setParents, setPosition, setPositionDirectly, setProperty, show, showElement, snapToPoints, update, updateRenderer, updateVisibility, useLocale
- Events borrowed from class JXG.GeometryElement:
- attribute, attribute:key, down, drag, keydrag, mousedown, mousedrag, mousemove, mouseout, mouseover, mouseup, move, out, over, pendown, pendrag, penup, touchdown, touchdrag, touchup, up
Class Detail
JXG.Curve3D(view, F, X, Y, Z, range, attributes)
Constructor for 3D curves.
- Parameters:
- {View3D} view
- {Function} F
- {Function} X
- {Function} Y
- {Function} Z
- {Array} range
- {Object} attributes
Method Detail
<private>
_F()
Internal function defining the surface without applying any transformations.
Does only exist if it or X are supplied as a function. Otherwise it is null.
<private>
_X()
Function or array which maps u to x; i.e. it defines the x-coordinate of the curve
- Returns:
- Number
<private>
_Y()
Function or array which maps u to y; i.e. it defines the y-coordinate of the curve
- Returns:
- Number
<private>
_Z()
Function or array which maps u to z; i.e. it defines the z-coordinate of the curve
- Returns:
- Number
evalF(u)
Generic function which evaluates the function term of the curve
and applies its transformations.
- Parameters:
- {Number} u
- Returns:
F(u)
Function defining the curve plus applying transformations.
- Parameters:
- {Number} u
- Returns:
- Array [x, y, z] of length 3
{JXG.Curve3D}
updateCoords()
Simple curve plotting algorithm.
- Returns:
- {JXG.Curve3D} Reference to itself
{JXG.Curve3D}
updateTransform()
- Returns:
- {JXG.Curve3D} Reference to itself
X(u)
Function which maps (u) to z; i.e. it defines the x-coordinate of the curve
plus applying transformations.
- Parameters:
- {Number} u
- Returns:
- Number
Y(u)
Function which maps (u) to y; i.e. it defines the y-coordinate of the curve
plus applying transformations.
- Parameters:
- {Number} u
- Returns:
- Number
Z(u)
Function which maps (u) to z; i.e. it defines the z-coordinate of the curve
plus applying transformations.
- Parameters:
- {Number} u
- Returns:
- Number