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

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

Inheritance diagram for MR.TriTriDistanceResult_Float:

Public Member Functions

unsafe TriTriDistanceResult_Float ()
 Constructs an empty (default-constructed) instance.
unsafe TriTriDistanceResult_Float (MR.Vector3f a, MR.Vector3f b, float distSq, bool overlap)
 Constructs MR::TriTriDistanceResult<float> elementwise.
unsafe TriTriDistanceResult_Float (MR.Const_TriTriDistanceResult_Float _other)
 Generated from constructor MR::TriTriDistanceResult<float>::TriTriDistanceResult.
 TriTriDistanceResult_Float (TriTriDistanceResult_Float _other)
 Generated from constructor MR::TriTriDistanceResult<float>::TriTriDistanceResult.
unsafe MR.TriTriDistanceResult_Float assign (MR.Const_TriTriDistanceResult_Float _other)
 Generated from method MR::TriTriDistanceResult<float>::operator=.

Properties

new unsafe ref MR.Vector3f 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.Vector3f 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 float 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<float>. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ TriTriDistanceResult_Float() [1/4]

unsafe MR.TriTriDistanceResult_Float.TriTriDistanceResult_Float ( )
inline

Constructs an empty (default-constructed) instance.

◆ TriTriDistanceResult_Float() [2/4]

unsafe MR.TriTriDistanceResult_Float.TriTriDistanceResult_Float ( MR.Vector3f a,
MR.Vector3f b,
float distSq,
bool overlap )
inline

Constructs MR::TriTriDistanceResult<float> elementwise.

◆ TriTriDistanceResult_Float() [3/4]

unsafe MR.TriTriDistanceResult_Float.TriTriDistanceResult_Float ( MR.Const_TriTriDistanceResult_Float _other)
inline

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

◆ TriTriDistanceResult_Float() [4/4]

MR.TriTriDistanceResult_Float.TriTriDistanceResult_Float ( TriTriDistanceResult_Float _other)
inline

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

Member Function Documentation

◆ assign()

unsafe MR.TriTriDistanceResult_Float MR.TriTriDistanceResult_Float.assign ( MR.Const_TriTriDistanceResult_Float _other)
inline

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

Property Documentation

◆ a

new unsafe ref MR.Vector3f MR.TriTriDistanceResult_Float.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.Vector3f MR.TriTriDistanceResult_Float.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 float MR.TriTriDistanceResult_Float.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_Float.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: