MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.TriTriDistanceResult_float Class Reference
Inheritance diagram for mrmeshpy.TriTriDistanceResult_float:

Public Member Functions

None __init__ (self)
None __init__ (self, ConstTriTriDistanceResult_float arg0)
None __init__ (self, ConstVector3f a, ConstVector3f b, float distSq, bool overlap, int aEdge, int bEdge)
TriTriDistanceResult_float assign (self, ConstTriTriDistanceResult_float other)
Vector3f a (self)
None a (self, ConstVector3f arg1)
int aEdge (self)
None aEdge (self, int arg1)
Vector3f b (self)
None b (self, ConstVector3f arg1)
int bEdge (self)
None bEdge (self, int arg1)
float distSq (self)
None distSq (self, float arg1)
bool overlap (self)
None overlap (self, bool arg1)
Public Member Functions inherited from mrmeshpy.ConstTriTriDistanceResult_float
 __init__ (self, *args, **kwargs)
TriPointf aBary (self, Const_std_array_Vector3_float_3 ta)
TriPointf bBary (self, Const_std_array_Vector3_float_3 tb)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstTriTriDistanceResult_float
typing _offsetof_a = 0
typing _offsetof_aEdge = 29
typing _offsetof_b = 12
typing _offsetof_bEdge = 30
typing _offsetof_distSq = 24
typing _offsetof_overlap = 28

Detailed Description

Generated from:  MR::TriTriDistanceResult<float>
Aliases:  TriTriDistanceResultf

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.TriTriDistanceResult_float.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.TriTriDistanceResult_float.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.TriTriDistanceResult_float.__init__ ( self,
ConstTriTriDistanceResult_float arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.TriTriDistanceResult_float.__init__ ( self,
ConstVector3f a,
ConstVector3f b,
float distSq,
bool overlap,
int aEdge,
int bEdge )
Implicit aggregate constructor.

Member Function Documentation

◆ a() [1/2]

Vector3f mrmeshpy.TriTriDistanceResult_float.a ( self)
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.

Reimplemented from mrmeshpy.ConstTriTriDistanceResult_float.

◆ a() [2/2]

None mrmeshpy.TriTriDistanceResult_float.a ( self,
ConstVector3f arg1 )
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.

Reimplemented from mrmeshpy.ConstTriTriDistanceResult_float.

◆ aEdge() [1/2]

int mrmeshpy.TriTriDistanceResult_float.aEdge ( self)
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

Reimplemented from mrmeshpy.ConstTriTriDistanceResult_float.

◆ aEdge() [2/2]

None mrmeshpy.TriTriDistanceResult_float.aEdge ( self,
int arg1 )
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

Reimplemented from mrmeshpy.ConstTriTriDistanceResult_float.

◆ assign()

TriTriDistanceResult_float mrmeshpy.TriTriDistanceResult_float.assign ( self,
ConstTriTriDistanceResult_float other )

◆ b() [1/2]

Vector3f mrmeshpy.TriTriDistanceResult_float.b ( self)
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.

Reimplemented from mrmeshpy.ConstTriTriDistanceResult_float.

◆ b() [2/2]

None mrmeshpy.TriTriDistanceResult_float.b ( self,
ConstVector3f arg1 )
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.

Reimplemented from mrmeshpy.ConstTriTriDistanceResult_float.

◆ bEdge() [1/2]

int mrmeshpy.TriTriDistanceResult_float.bEdge ( self)
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

Reimplemented from mrmeshpy.ConstTriTriDistanceResult_float.

◆ bEdge() [2/2]

None mrmeshpy.TriTriDistanceResult_float.bEdge ( self,
int arg1 )
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

Reimplemented from mrmeshpy.ConstTriTriDistanceResult_float.

◆ distSq() [1/2]

float mrmeshpy.TriTriDistanceResult_float.distSq ( self)
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.

Reimplemented from mrmeshpy.ConstTriTriDistanceResult_float.

◆ distSq() [2/2]

None mrmeshpy.TriTriDistanceResult_float.distSq ( self,
float arg1 )
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.

Reimplemented from mrmeshpy.ConstTriTriDistanceResult_float.

◆ overlap() [1/2]

bool mrmeshpy.TriTriDistanceResult_float.overlap ( self)
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

Reimplemented from mrmeshpy.ConstTriTriDistanceResult_float.

◆ overlap() [2/2]

None mrmeshpy.TriTriDistanceResult_float.overlap ( self,
bool arg1 )
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

Reimplemented from mrmeshpy.ConstTriTriDistanceResult_float.


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