MeshLib Python Docs
Loading...
Searching...
No Matches

Public Member Functions

None __init__ (self)
None __init__ (self, TriTriDistanceResult_float arg0)
None __init__ (self, Vector3f a, Vector3f b, float distSq, bool overlap)
Vector3f a (self)
None a (self, Vector3f arg1)
Vector3f b (self)
None b (self, Vector3f arg1)
float distSq (self)
None distSq (self, float arg1)
bool overlap (self)
None overlap (self, bool arg1)

Static Public Member Functions

None __init__ (*args, **kwargs)
TriTriDistanceResult_float operator (*args, **kwargs)
TriTriDistanceResult_float operator (*args, **kwargs)

Static Protected Attributes

typing _offsetof_a = 0
typing _offsetof_b = 12
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,
TriTriDistanceResult_float arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.TriTriDistanceResult_float.__init__ ( self,
Vector3f a,
Vector3f b,
float distSq,
bool overlap )
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.

◆ a() [2/2]

None mrmeshpy.TriTriDistanceResult_float.a ( self,
Vector3f arg1 )

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

◆ b() [2/2]

None mrmeshpy.TriTriDistanceResult_float.b ( self,
Vector3f arg1 )

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

◆ distSq() [2/2]

None mrmeshpy.TriTriDistanceResult_float.distSq ( self,
float arg1 )

◆ operator() [1/2]

TriTriDistanceResult_float mrmeshpy.TriTriDistanceResult_float.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

TriTriDistanceResult_float mrmeshpy.TriTriDistanceResult_float.operator ( * args,
** kwargs )
static

◆ 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

◆ overlap() [2/2]

None mrmeshpy.TriTriDistanceResult_float.overlap ( self,
bool arg1 )

Member Data Documentation

◆ _offsetof_a

typing mrmeshpy.TriTriDistanceResult_float._offsetof_a = 0
staticprotected

◆ _offsetof_b

typing mrmeshpy.TriTriDistanceResult_float._offsetof_b = 12
staticprotected

◆ _offsetof_distSq

typing mrmeshpy.TriTriDistanceResult_float._offsetof_distSq = 24
staticprotected

◆ _offsetof_overlap

typing mrmeshpy.TriTriDistanceResult_float._offsetof_overlap = 28
staticprotected

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