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, sbyte aEdge, sbyte bEdge)
 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=.
Public Member Functions inherited from MR.Const_TriTriDistanceResult_Float
virtual void Dispose ()
unsafe Const_TriTriDistanceResult_Float ()
 Constructs an empty (default-constructed) instance.
unsafe Const_TriTriDistanceResult_Float (MR.Vector3f a, MR.Vector3f b, float distSq, bool overlap, sbyte aEdge, sbyte bEdge)
 Constructs MR::TriTriDistanceResult<float> elementwise.
unsafe Const_TriTriDistanceResult_Float (MR.Const_TriTriDistanceResult_Float _other)
 Generated from constructor MR::TriTriDistanceResult<float>::TriTriDistanceResult.
 Const_TriTriDistanceResult_Float (TriTriDistanceResult_Float _other)
 Generated from constructor MR::TriTriDistanceResult<float>::TriTriDistanceResult.
unsafe MR.TriPointf aBary (in MR.Std.Array_MRVector3f_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<float>aBary.
unsafe MR.TriPointf bBary (in MR.Std.Array_MRVector3f_3 tb)
 barycentric coordinates of point b in triangle tb, given to findTriTriDistance as the second one Generated from method MR::TriTriDistanceResult<float>bBary.

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
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_Float
unsafe ref readonly 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.
unsafe ref readonly 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.
unsafe 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.
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_Float
virtual unsafe void Dispose (bool disposing)
Protected Attributes inherited from MR.Const_TriTriDistanceResult_Float
unsafe MR.Vector3f * __ref_storage_a
unsafe MR.Vector3f * __ref_storage_b
unsafe float * __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<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,
sbyte aEdge,
sbyte bEdge )
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.

◆ aEdge

new unsafe ref sbyte MR.TriTriDistanceResult_Float.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.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.

◆ bEdge

new unsafe ref sbyte MR.TriTriDistanceResult_Float.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 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: