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)
 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=.

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

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 )
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.

◆ 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.

◆ 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: