Class JXG.Plane3D
JXG.GeometryElement3D,JXG.GeometryElement
↳ JXG.Plane3D
Creates a new 3D plane object. Do not use this constructor to create a 3D plane. Use JXG.Board#create with type Plane3D instead.
Defined in: linspace3d.js.
Extends
JXG.GeometryElement, JXG.GeometryElement3D.
Constructor Attributes | Constructor Name and Description |
---|---|
JXG.Plane3D(view, point, direction1, range1, direction2, range2, attributes)
Constructor for 3D planes.
|
- Fields borrowed from class JXG.GeometryElement3D:
- element2D, is3D, view
- Fields borrowed from class JXG.GeometryElement:
- _org_type, _pos, ancestors, baseElement, board, childElements, dash, dashScale, descendants, draft, dragToTopOfLayer, dump, elementClass, elType, fillColor, fillOpacity, fixed, frozen, gradient, gradientAngle, gradientCX, gradientCY, gradientEndOffset, gradientFR, gradientFX, gradientFY, gradientR, gradientSecondColor, gradientSecondOpacity, gradientStartOffset, hasLabel, highlight, 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, viewport, visible, visProp, visPropCalc, withLabel
Field Attributes | Field Name and Description |
---|---|
<private> |
Right hand side of the Hesse normal form.
|
Two linearly independent vectors - together with a point - define the plane.
|
|
Two linearly independent vectors - together with a point - define the plane.
|
|
<private> |
Normal vector of the plane.
|
3D point which - together with two direction vectors - defines the plane.
|
|
Range [r1, r2] of direction1.
|
|
Range [r1, r2] of direction2.
|
|
<private> |
Direction vector 1 of the 3D plane.
|
<private> |
Direction vector 2 of the 3D plane.
|
- Fields borrowed from class JXG.GeometryElement3D:
- element2D, is3D, view
- Fields borrowed from class JXG.GeometryElement:
- _org_type, _pos, ancestors, baseElement, board, childElements, dash, dashScale, descendants, draft, dragToTopOfLayer, dump, elementClass, elType, fillColor, fillOpacity, fixed, frozen, gradient, gradientAngle, gradientCX, gradientCY, gradientEndOffset, gradientFR, gradientFX, gradientFY, gradientR, gradientSecondColor, gradientSecondOpacity, gradientStartOffset, hasLabel, highlight, 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, viewport, visible, visProp, visPropCalc, withLabel
Method Attributes | Method Name and Description |
---|---|
<private> |
Update the Hesse normal form of the plane, i.e.
|
- Methods borrowed from class JXG.GeometryElement:
- _set, addChild, addDescendants, addParents, addParentsFromJCFunctions, addRotation, addTicks, addTransform, animate, bounds, clearTrace, cloneToBackground, countChildren, createGradient, createLabel, draggable, 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.Plane3D(view, point, direction1, range1, direction2, range2, attributes)
Constructor for 3D planes.
Field Detail
<private>
{Array}
d
Right hand side of the Hesse normal form.
- See:
- updateNormal
{Array|Function}
direction1
Two linearly independent vectors - together with a point - define the plane. Each of these direction vectors is an
array of numbers or functions (of length 3) or function returning array of length 3.
{Array|Function}
direction2
Two linearly independent vectors - together with a point - define the plane. Each of these direction vectors is an
array of numbers or functions (of length 3) or function returning array of length 3.
<private>
{Array}
normal
Normal vector of the plane. Left hand side of the Hesse normal form.
- See:
- updateNormal
{JXG.Point3D}
point
3D point which - together with two direction vectors - defines the plane.
- See:
- JXG.3D#direction1
- JXG.3D#direction2
range1
Range [r1, r2] of direction1. The 3D line goes from (point + r1 * direction1) to (point + r2 * direction1)
range2
Range [r1, r2] of direction2. The 3D line goes from (point + r1 * direction2) to (point + r2 * direction2)
<private>
{Array}
vec1
Direction vector 1 of the 3D plane. Contains the evaluated coordinates from direction1 and range1.
- See:
- updateNormal
<private>
{Array}
vec2
Direction vector 2 of the 3D plane. Contains the evaluated coordinates from direction2 and range2.
- See:
- updateNormal
Method Detail
<private>
{Object}
updateNormal()
Update the Hesse normal form of the plane, i.e. update normal vector and right hand side.
Updates also vec1 and vec2.
- Returns:
- {Object} Reference to the Plane3D object
- Examples:
plane.updateNormal();