Aardvark.Base


Plane3dExtensions

Static members

Static memberDescription
GetPlaneToWorld(self)
Signature: self:Plane3d -> Euclidean3d

2D plane space to 3D world space. Plane space is defined by a normal-frame from Point and Normal of the plane.

GetWorldToPlane(self)
Signature: self:Plane3d -> Euclidean3d

3D world space to 2D plane space. Plane space is defined by a normal-frame from Point and Normal of the plane.

Project(plane, p)
Signature: (plane:Plane3d * p:V3d) -> V3d

Projects a point onto the plane (shortest distance).

Project(plane, p, direction)
Signature: (plane:Plane3d * p:V3d * direction:V3d) -> V3d

Projects a point onto the plane along given direction.

Project(...)
Signature: (plane:Plane3d * pointArray:V3d [] * startIndex:int * count:int) -> V3d []

Projects points onto plane (shortest distance).

Project(...)
Signature: (plane:Plane3d * pointArray:V3d [] * direction:V3d * startIndex:int * count:int) -> V3d []

Projects points onto plane along given direction.

ProjectToPlaneSpace(plane, p)
Signature: (plane:Plane3d * p:V3d) -> V2d

Projects a point from world space to plane space (shortest distance).

ProjectToPlaneSpace(plane, points)
Signature: (plane:Plane3d * points:V3d []) -> V2d []

Projects points from world space to plane space (shortest distance).

Unproject(plane, point)
Signature: (plane:Plane3d * point:V2d) -> V3d

Transforms point from plane space to world space.

Unproject(plane, points)
Signature: (plane:Plane3d * points:V2d []) -> V3d []

Transforms points from plane space to world space.

Unproject(plane, points)
Signature: (plane:Plane3d * points:IReadOnlyList<V2d>) -> V3d []

Transforms points from plane space to world space.

Fork me on GitHub