Constructors
constructor
-
Parameters
Properties
anchor
normal
Static XY
XY
: Plane = new Plane(Vector.Zero(3), Vector.k)
Static XZ
XZ
: Plane = new Plane(Vector.Zero(3), Vector.j)
Static YX
YX
: Plane = new Plane(Vector.Zero(3), Vector.k)
Static YZ
YZ
: Plane = new Plane(Vector.Zero(3), Vector.i)
Static ZX
ZX
: Plane = new Plane(Vector.Zero(3), Vector.j)
Static ZY
ZY
: Plane = new Plane(Vector.Zero(3), Vector.i)
Methods
contains
- contains(obj: Geometry, epsilon?: number): boolean
-
Parameters
-
-
Default value epsilon: number = Sylvester.precision
Returns boolean
distanceFrom
-
Parameters
Returns number
eql
- eql(plane: unknown, epsilon?: number): boolean
-
Parameters
-
plane: unknown
-
Default value epsilon: number = Sylvester.precision
Returns boolean
intersectionWith
- intersectionWith(obj: Line | Segment, epsilon: undefined | number): Vector | null
- intersectionWith(obj: Plane, epsilon: undefined | number): Line | null
-
Parameters
-
-
Optional epsilon: undefined | number
Returns Vector
|
null
-
Parameters
-
-
Optional epsilon: undefined | number
Returns Line
|
null
intersects
- intersects(obj: Geometry, epsilon?: number): boolean
-
Parameters
-
-
Default value epsilon: number = Sylvester.precision
Returns boolean
isParallelTo
- isParallelTo(obj: Geometry, epsilon?: number): boolean
-
Parameters
-
-
Default value epsilon: number = Sylvester.precision
Returns boolean
isPerpendicularTo
- isPerpendicularTo(obj: Geometry, epsilon?: number): boolean
-
Parameters
-
-
Default value epsilon: number = Sylvester.precision
Returns boolean
pointClosestTo
-
Parameters
-
-
Optional epsilon: undefined | number
Returns Vector
|
null
-
Parameters
-
-
Optional epsilon: undefined | number
reflectionIn
-
Parameters
rotate
-
Parameters
toString
-
Returns string
translate
-
Parameters
Static fromPoints
-
Parameters