Class Plane3DRegion
- Namespace
- SearchAThing.Sci
- Assembly
- netcore-sci.dll
region of a plane3d delimited by a set of coplanar points
public class Plane3DRegion
- Inheritance
-
Plane3DRegion
- Inherited Members
Constructors
Plane3DRegion(double, IEnumerable<Vector3D>)
build plane3d region based upong given list of pts ( at least 3 non colinear points required )
public Plane3DRegion(double tol, IEnumerable<Vector3D> _pts)
Parameters
tol
doublelength tolerance
_pts
IEnumerable<Vector3D>region points
Properties
CSPoints
(coplanar) points delimiting region of plane3d in CS coordinates ( Z = 0 )
public IReadOnlyList<Vector3D> CSPoints { get; }
Property Value
Plane
plane info, contains CS
public Plane3D Plane { get; }
Property Value
Points
(coplanar) points delimiting region of plane3d in WCS coordinates
public IReadOnlyList<Vector3D> Points { get; }
Property Value
Methods
Contains(double, Vector3D)
states if this plane3d region contains given point
public bool Contains(double tol, Vector3D p)
Parameters
Returns
- bool
true if given point is in plane3d region
Intersect(double, Line3D)
states if given ray line intersect this plane3d region
public Vector3D? Intersect(double tol, Line3D ray)
Parameters
Returns
- Vector3D
intersection point or null if not