MeshLib C# Docs
Loading...
Searching...
No Matches
MR.TriTriDistanceResult_Double Class Reference

Generated from class MR::TriTriDistanceResult<double>. This is the non-const half of the class. More...

Inheritance diagram for MR.TriTriDistanceResult_Double:

Public Member Functions

unsafe TriTriDistanceResult_Double ()
 Constructs an empty (default-constructed) instance.
unsafe TriTriDistanceResult_Double (MR.Vector3d a, MR.Vector3d b, double distSq, bool overlap, sbyte aEdge, sbyte bEdge)
 Constructs MR::TriTriDistanceResult<double> elementwise.
unsafe TriTriDistanceResult_Double (MR.Const_TriTriDistanceResult_Double _other)
 Generated from constructor MR::TriTriDistanceResult<double>::TriTriDistanceResult.
 TriTriDistanceResult_Double (TriTriDistanceResult_Double _other)
 Generated from constructor MR::TriTriDistanceResult<double>::TriTriDistanceResult.
unsafe MR.TriTriDistanceResult_Double assign (MR.Const_TriTriDistanceResult_Double _other)
 Generated from method MR::TriTriDistanceResult<double>::operator=.
Public Member Functions inherited from MR.Const_TriTriDistanceResult_Double
virtual void Dispose ()
unsafe Const_TriTriDistanceResult_Double ()
 Constructs an empty (default-constructed) instance.
unsafe Const_TriTriDistanceResult_Double (MR.Vector3d a, MR.Vector3d b, double distSq, bool overlap, sbyte aEdge, sbyte bEdge)
 Constructs MR::TriTriDistanceResult<double> elementwise.
unsafe Const_TriTriDistanceResult_Double (MR.Const_TriTriDistanceResult_Double _other)
 Generated from constructor MR::TriTriDistanceResult<double>::TriTriDistanceResult.
 Const_TriTriDistanceResult_Double (TriTriDistanceResult_Double _other)
 Generated from constructor MR::TriTriDistanceResult<double>::TriTriDistanceResult.
unsafe MR.TriPointd aBary (in MR.Std.Array_MRVector3d_3 ta)
 barycentric coordinates of point a in triangle ta, given to findTriTriDistance as the first one; unlike the ones computed from the position of the point, they place a point found on an edge or in a vertex there Generated from method MR::TriTriDistanceResult<double>aBary.
unsafe MR.TriPointd bBary (in MR.Std.Array_MRVector3d_3 tb)
 barycentric coordinates of point b in triangle tb, given to findTriTriDistance as the second one Generated from method MR::TriTriDistanceResult<double>bBary.

Properties

new unsafe ref MR.Vector3d a [get]
 If the triangles are disjoint, these points are the closest points of the corresponding triangles. However, if the triangles overlap, these are basically a random pair of points from the triangles, not coincident points on the intersection of the triangles, as might be expected.
new unsafe ref MR.Vector3d b [get]
 If the triangles are disjoint, these points are the closest points of the corresponding triangles. However, if the triangles overlap, these are basically a random pair of points from the triangles, not coincident points on the intersection of the triangles, as might be expected.
new unsafe ref double distSq [get]
 If the triangles are disjoint, it is the squared distance them (equal to the squared distance between a and b points). If the triangles overlap, it is zero.
new unsafe ref bool overlap [get]
 overlap==true means that the triangles are intersecting and not just touch one another => distSq == 0 if distSq == 0 and overlap == false, then the triangles just touch one another
new unsafe ref sbyte aEdge [get]
 the edges of the triangles with points a and b, numbered as in TriPoint::onEdge() (which also contain a point found in a vertex), or -1 if the point is inside its triangle
new unsafe ref sbyte bEdge [get]
 the edges of the triangles with points a and b, numbered as in TriPoint::onEdge() (which also contain a point found in a vertex), or -1 if the point is inside its triangle
Properties inherited from MR.Const_TriTriDistanceResult_Double
unsafe ref readonly MR.Vector3d a [get]
 If the triangles are disjoint, these points are the closest points of the corresponding triangles. However, if the triangles overlap, these are basically a random pair of points from the triangles, not coincident points on the intersection of the triangles, as might be expected.
unsafe ref readonly MR.Vector3d b [get]
 If the triangles are disjoint, these points are the closest points of the corresponding triangles. However, if the triangles overlap, these are basically a random pair of points from the triangles, not coincident points on the intersection of the triangles, as might be expected.
unsafe double distSq [get]
 If the triangles are disjoint, it is the squared distance them (equal to the squared distance between a and b points). If the triangles overlap, it is zero.
unsafe bool overlap [get]
 overlap==true means that the triangles are intersecting and not just touch one another => distSq == 0 if distSq == 0 and overlap == false, then the triangles just touch one another
unsafe sbyte aEdge [get]
 the edges of the triangles with points a and b, numbered as in TriPoint::onEdge() (which also contain a point found in a vertex), or -1 if the point is inside its triangle
unsafe sbyte bEdge [get]
 the edges of the triangles with points a and b, numbered as in TriPoint::onEdge() (which also contain a point found in a vertex), or -1 if the point is inside its triangle

Additional Inherited Members

Protected Member Functions inherited from MR.Const_TriTriDistanceResult_Double
virtual unsafe void Dispose (bool disposing)
Protected Attributes inherited from MR.Const_TriTriDistanceResult_Double
unsafe MR.Vector3d * __ref_storage_a
unsafe MR.Vector3d * __ref_storage_b
unsafe double * __ref_storage_distSq
unsafe bool * __ref_storage_overlap
unsafe sbyte * __ref_storage_aEdge
unsafe sbyte * __ref_storage_bEdge

Detailed Description

Generated from class MR::TriTriDistanceResult<double>. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ TriTriDistanceResult_Double() [1/4]

unsafe MR.TriTriDistanceResult_Double.TriTriDistanceResult_Double ( )
inline

Constructs an empty (default-constructed) instance.

◆ TriTriDistanceResult_Double() [2/4]

unsafe MR.TriTriDistanceResult_Double.TriTriDistanceResult_Double ( MR.Vector3d a,
MR.Vector3d b,
double distSq,
bool overlap,
sbyte aEdge,
sbyte bEdge )
inline

Constructs MR::TriTriDistanceResult<double> elementwise.

◆ TriTriDistanceResult_Double() [3/4]

unsafe MR.TriTriDistanceResult_Double.TriTriDistanceResult_Double ( MR.Const_TriTriDistanceResult_Double _other)
inline

Generated from constructor MR::TriTriDistanceResult<double>::TriTriDistanceResult.

◆ TriTriDistanceResult_Double() [4/4]

MR.TriTriDistanceResult_Double.TriTriDistanceResult_Double ( TriTriDistanceResult_Double _other)
inline

Generated from constructor MR::TriTriDistanceResult<double>::TriTriDistanceResult.

Member Function Documentation

◆ assign()

unsafe MR.TriTriDistanceResult_Double MR.TriTriDistanceResult_Double.assign ( MR.Const_TriTriDistanceResult_Double _other)
inline

Generated from method MR::TriTriDistanceResult<double>::operator=.

Property Documentation

◆ a

new unsafe ref MR.Vector3d MR.TriTriDistanceResult_Double.a
get

If the triangles are disjoint, these points are the closest points of the corresponding triangles. However, if the triangles overlap, these are basically a random pair of points from the triangles, not coincident points on the intersection of the triangles, as might be expected.

◆ aEdge

new unsafe ref sbyte MR.TriTriDistanceResult_Double.aEdge
get

the edges of the triangles with points a and b, numbered as in TriPoint::onEdge() (which also contain a point found in a vertex), or -1 if the point is inside its triangle

◆ b

new unsafe ref MR.Vector3d MR.TriTriDistanceResult_Double.b
get

If the triangles are disjoint, these points are the closest points of the corresponding triangles. However, if the triangles overlap, these are basically a random pair of points from the triangles, not coincident points on the intersection of the triangles, as might be expected.

◆ bEdge

new unsafe ref sbyte MR.TriTriDistanceResult_Double.bEdge
get

the edges of the triangles with points a and b, numbered as in TriPoint::onEdge() (which also contain a point found in a vertex), or -1 if the point is inside its triangle

◆ distSq

new unsafe ref double MR.TriTriDistanceResult_Double.distSq
get

If the triangles are disjoint, it is the squared distance them (equal to the squared distance between a and b points). If the triangles overlap, it is zero.

◆ overlap

new unsafe ref bool MR.TriTriDistanceResult_Double.overlap
get

overlap==true means that the triangles are intersecting and not just touch one another => distSq == 0 if distSq == 0 and overlap == false, then the triangles just touch one another


The documentation for this class was generated from the following file: