Class Plane3D
- Namespace
- SearchAThing.Sci
- Assembly
- netcore-sci.dll
encapsulate a CS to define a plane3d
public class Plane3D
- Inheritance
-
Plane3D
- Inherited Members
Constructors
Plane3D(CoordinateSystem3D)
build plane using cs as reference for origin and x,y axes
public Plane3D(CoordinateSystem3D cs)
Parameters
Fields
XY
XY(z) plane : top view
public static readonly Plane3D XY
Field Value
XZ
XZ(-y) plane : front view
public static readonly Plane3D XZ
Field Value
YZ
YZ(x) plane : side view
public static readonly Plane3D YZ
Field Value
Properties
CS
public CoordinateSystem3D CS { get; }
Property Value
Methods
Contains(double, Edge)
states if given edge contained in this plane
public bool Contains(double tol, Edge edge)
Parameters
Returns
Contains(double, Line3D)
states if given wcs segment is contained in this plane
public bool Contains(double tol, Line3D line)
Parameters
Returns
Contains(double, Vector3D)
states if given wcs point is contained in this plane
public bool Contains(double tol, Vector3D pt)
Parameters
Returns
Intersect(double, Plane3D)
return intersection line between two planes or null if they parallels
public Line3D? Intersect(double tol, Plane3D other)
Parameters
Returns
MiddlePlane(double, Plane3D)
retrieve the plane that is in the middle between this and other given
public Plane3D MiddlePlane(double tol, Plane3D other)
Parameters
Returns
Move(Vector3D)
public Plane3D Move(Vector3D delta)
Parameters
delta
Vector3D
Returns
ToString()
public override string ToString()
Returns
ToString(int)
public string ToString(int digits)
Parameters
digits
int