Class JXG.Surface3D
JXG.GeometryElement3D,JXG.GeometryElement
↳ JXG.Surface3D
Creates a new 3D surface object. Do not use this constructor to create a 3D surface. Use JXG.View3D#create with type Surface3D instead.
Defined in: surface3d.js.
Extends
JXG.GeometryElement, JXG.GeometryElement3D.
Constructor Attributes | Constructor Name and Description |
---|---|
JXG.Surface3D(view, F, X, Y, Z, range_u, range_v, attributes)
Constructor for 3D surfaces.
|
- 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(u, v)
Internal function defining the surface
without applying any transformations.
|
<private> |
_X(u, v)
Internal function which maps (u, v) to x; i.e.
|
<private> |
_Y(u, v)
Internal function which maps (u, v) to y; i.e.
|
<private> |
_Z(u, v)
Internal function which maps (u, v) to z; i.e.
|
evalF(u, v)
Generic function which evaluates the function term of the surface
and applies its transformations.
|
|
F(u, v)
Function defining the surface plus applying transformations.
|
|
X(u, v)
Function which maps (u, v) to z; i.e.
|
|
Y(u, v)
Function which maps (u, v) to y; i.e.
|
|
Z(u, v)
Function which maps (u, v) 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.Surface3D(view, F, X, Y, Z, range_u, range_v, attributes)
Constructor for 3D surfaces.
- Parameters:
- {View3D} view
- {Function} F
- {Function} X
- {Function} Y
- {Function} Z
- {Array} range_u
- {Array} range_v
- {Object} attributes
Method Detail
<private>
_F(u, v)
Internal function defining the surface
without applying any transformations.
- Parameters:
- {Number} u
- {Number} v
- Returns:
- Array [x, y, z] of length 3
<private>
_X(u, v)
Internal function which maps (u, v) to x; i.e. it defines the x-coordinate of the surface
without applying any transformations.
- Parameters:
- {Number} u
- {Number} v
- Returns:
- Number
<private>
_Y(u, v)
Internal function which maps (u, v) to y; i.e. it defines the y-coordinate of the surface
without applying any transformations.
- Parameters:
- {Number} u
- {Number} v
- Returns:
- Number
<private>
_Z(u, v)
Internal function which maps (u, v) to z; i.e. it defines the z-coordinate of the surface
without applying any transformations.
- Parameters:
- {Number} u
- {Number} v
- Returns:
- Number
evalF(u, v)
Generic function which evaluates the function term of the surface
and applies its transformations.
- Parameters:
- {Number} u
- {Number} v
- Returns:
F(u, v)
Function defining the surface plus applying transformations.
- Parameters:
- {Number} u
- {Number} v
- Returns:
- Array [x, y, z] of length 3
X(u, v)
Function which maps (u, v) to z; i.e. it defines the x-coordinate of the surface
plus applying transformations.
- Parameters:
- {Number} u
- {Number} v
- Returns:
- Number
Y(u, v)
Function which maps (u, v) to y; i.e. it defines the y-coordinate of the surface
plus applying transformations.
- Parameters:
- {Number} u
- {Number} v
- Returns:
- Number
Z(u, v)
Function which maps (u, v) to z; i.e. it defines the z-coordinate of the surface
plus applying transformations.
- Parameters:
- {Number} u
- {Number} v
- Returns:
- Number