Table of Contents

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 double

length 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

IReadOnlyList<Vector3D>

Plane

plane info, contains CS

public Plane3D Plane { get; }

Property Value

Plane3D

Points

(coplanar) points delimiting region of plane3d in WCS coordinates

public IReadOnlyList<Vector3D> Points { get; }

Property Value

IReadOnlyList<Vector3D>

Methods

Contains(double, Vector3D)

states if this plane3d region contains given point

public bool Contains(double tol, Vector3D p)

Parameters

tol double

length tolerance

p Vector3D

point to check if contained

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

tol double

length tolerance

ray Line3D

ray to test if intersect plane3d region

Returns

Vector3D

intersection point or null if not