Class DistPoint3Triangle3
Inheritance
DistPoint3Triangle3
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
public class DistPoint3Triangle3
Constructors
DistPoint3Triangle3(Vector3d, Triangle3d)
Declaration
public DistPoint3Triangle3(Vector3d PointIn, Triangle3d TriangleIn)
Parameters
Fields
DistanceSquared
Declaration
public double DistanceSquared
Field Value
TriangleBaryCoords
Declaration
public Vector3d TriangleBaryCoords
Field Value
TriangleClosest
Declaration
public Vector3d TriangleClosest
Field Value
Properties
Point
Declaration
public Vector3d Point { get; set; }
Property Value
Triangle
Declaration
public Triangle3d Triangle { get; set; }
Property Value
Methods
Compute()
Declaration
public DistPoint3Triangle3 Compute()
Returns
DistanceSqr(ref Vector3d, ref Triangle3d, out Vector3d, out Vector3d)
Declaration
public static double DistanceSqr(ref Vector3d point, ref Triangle3d triangle, out Vector3d closestPoint, out Vector3d baryCoords)
Parameters
Returns
Get()
Declaration
Returns
GetSquared()
Declaration
public double GetSquared()
Returns