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

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

Inheritance diagram for MR.Const_TriTriDistanceResult_Double:

Classes

struct  _Underlying

Public Member Functions

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

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe MR.Vector3d__ref_storage_a
unsafe MR.Vector3d__ref_storage_b
unsafe double * __ref_storage_distSq
unsafe bool * __ref_storage_overlap

Properties

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

Detailed Description

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

Constructor & Destructor Documentation

◆ Const_TriTriDistanceResult_Double() [1/4]

unsafe MR.Const_TriTriDistanceResult_Double.Const_TriTriDistanceResult_Double ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_TriTriDistanceResult_Double() [2/4]

unsafe MR.Const_TriTriDistanceResult_Double.Const_TriTriDistanceResult_Double ( MR.Vector3d a,
MR.Vector3d b,
double distSq,
bool overlap )
inline

Constructs MR::TriTriDistanceResult<double> elementwise.

◆ Const_TriTriDistanceResult_Double() [3/4]

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

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

◆ Const_TriTriDistanceResult_Double() [4/4]

MR.Const_TriTriDistanceResult_Double.Const_TriTriDistanceResult_Double ( TriTriDistanceResult_Double _other)
inline

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

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_TriTriDistanceResult_Double.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_TriTriDistanceResult_Double.Dispose ( bool disposing)
inlineprotectedvirtual

Member Data Documentation

◆ __ref_storage_a

unsafe MR.Vector3d* MR.Const_TriTriDistanceResult_Double.__ref_storage_a
protected

◆ __ref_storage_b

unsafe MR.Vector3d* MR.Const_TriTriDistanceResult_Double.__ref_storage_b
protected

◆ __ref_storage_distSq

unsafe double* MR.Const_TriTriDistanceResult_Double.__ref_storage_distSq
protected

◆ __ref_storage_overlap

unsafe bool* MR.Const_TriTriDistanceResult_Double.__ref_storage_overlap
protected

Property Documentation

◆ a

unsafe ref readonly MR.Vector3d MR.Const_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

unsafe ref readonly MR.Vector3d MR.Const_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

unsafe double MR.Const_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

unsafe bool MR.Const_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: