InfinitePlane

References
public struct InfinitePlane
Represents an infinite plane in space.

Constructors

InfinitePlane

#
public InfinitePlane(Locus origin, Locus normal)
Create a new slice.
origin (Locus)
normal (Locus)

InfinitePlane

#
public InfinitePlane(Plane plane)
Create a new spatial slice from a rhinocommon plane.
plane (Plane)Plane.

Properties

Normal

#
public Locus Normal { get; }
Gets the slice normal vector.

Origin

#
public Locus Origin { get; }
Gets the slice origin point.

Methods

DistanceToPoint

#
public double DistanceToPoint(Locus point)
Gets the signed distance to a point.
point (Locus)
Signed quadrance (negative being underneath the plane).

Project

#
public LinearSegment Project(LinearSegment line)
Project a line onto the plane.
line (LinearSegment)Line.
Line on plane.

Project

#
public Locus Project(Locus point)
Project a point onto the plane.
point (Locus)Point.
Point on plane.

QuadranceToPoint

#
public double QuadranceToPoint(Locus point)
Gets the signed quadrance to a point. Unlike most cases, signed distances are quicker to compute than signed quadrances.
point (Locus)
Signed quadrance (negative being underneath the plane).