Table of Contents

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

cs CoordinateSystem3D

Fields

XY

XY(z) plane : top view

public static readonly Plane3D XY

Field Value

Plane3D

XZ

XZ(-y) plane : front view

public static readonly Plane3D XZ

Field Value

Plane3D

YZ

YZ(x) plane : side view

public static readonly Plane3D YZ

Field Value

Plane3D

Properties

CS

public CoordinateSystem3D CS { get; }

Property Value

CoordinateSystem3D

Methods

Contains(double, Edge)

states if given edge contained in this plane

public bool Contains(double tol, Edge edge)

Parameters

tol double
edge Edge

Returns

bool

Contains(double, Line3D)

states if given wcs segment is contained in this plane

public bool Contains(double tol, Line3D line)

Parameters

tol double
line Line3D

Returns

bool

Contains(double, Vector3D)

states if given wcs point is contained in this plane

public bool Contains(double tol, Vector3D pt)

Parameters

tol double
pt Vector3D

Returns

bool

Intersect(double, Plane3D)

return intersection line between two planes or null if they parallels

public Line3D? Intersect(double tol, Plane3D other)

Parameters

tol double

len tolerance

other Plane3D

other plane

Returns

Line3D

MiddlePlane(double, Plane3D)

retrieve the plane that is in the middle between this and other given

public Plane3D MiddlePlane(double tol, Plane3D other)

Parameters

tol double
other Plane3D

Returns

Plane3D

Move(Vector3D)

public Plane3D Move(Vector3D delta)

Parameters

delta Vector3D

Returns

Plane3D

ToString()

public override string ToString()

Returns

string

ToString(int)

public string ToString(int digits)

Parameters

digits int

Returns

string