Members
XY
Creates a Plane
object representing the XY plane.
- Source
XZ
Creates a Plane
object representing the XZ plane.
- Source
YX
Creates a Plane
object representing the YX plane.
- Source
YZ
Creates a Plane
object representing the YZ plane.
- Source
ZX
Creates a Plane
object representing the ZX plane.
- Source
ZY
Creates a Plane
object representing the ZY plane.
- Source
axis
Returns the axis of the plane.
- Source
normal
Returns the normal vector of the plane.
- Source
origin
Returns the origin of the plane.
- Source
xDirection
Returns the x-direction vector of the plane.
- Source
Methods
offset(offset) → {Plane}
Offsets the plane by a given vector.
Name | Type | Description |
---|---|---|
offset | Vector | The offset vector to apply to the plane's origin. |
- Source
A new Plane
object with the origin offset by the given vector.
- Type:
- Plane
(static) fromFace(face) → {Plane|undefined}
Creates a Plane
object from a given Face
object.
Name | Type | Description |
---|---|---|
face | Face | The face from which to create a |
- Source
A new Plane
object if the face is a plane, otherwise undefined
.
- Type:
- Plane |
undefined