Method GetPlaneWith
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
GetPlaneWith(GeoVector3)
Gets the infinite plane through this segment carrying a given in-plane direction.
public GeoPlane3 GetPlaneWith(GeoVector3 inPlaneDirection)
Parameters
inPlaneDirectionGeoVector3A second direction the plane must contain.
Returns
- GeoPlane3
The plane through the start point spanned by this segment and the supplied direction.
Exceptions
- ArgumentException
Thrown when the segment has no length or the two directions are parallel, since neither case pins down a plane, or when the direction is not finite. A direction along the segment, or of no length, is named
inPlaneDirection: the segment from the origin to (100, 0, 0) with the direction (1, 0, 0) gives that, where the plane's own refusal named anormalthe caller never gave.- InvalidOperationException
Thrown when the segment has an end that is not a finite point.