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

Public Member Functions

None __init__ (self)
None __init__ (self, TriTriDistanceResult_double arg0)
None __init__ (self, Vector3d a, Vector3d b, float distSq, bool overlap)
Vector3d a (self)
None a (self, Vector3d arg1)
Vector3d b (self)
None b (self, Vector3d 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_double operator (*args, **kwargs)
TriTriDistanceResult_double operator (*args, **kwargs)

Static Protected Attributes

typing _offsetof_a = 0
typing _offsetof_b = 24
typing _offsetof_distSq = 48
typing _offsetof_overlap = 56

Detailed Description

Generated from:  MR::TriTriDistanceResult<double>
Aliases:  TriTriDistanceResultd

Constructor & Destructor Documentation

◆ __init__() [1/4]

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

◆ __init__() [2/4]

None mrmeshpy.TriTriDistanceResult_double.__init__ ( self)

◆ __init__() [3/4]

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

◆ __init__() [4/4]

None mrmeshpy.TriTriDistanceResult_double.__init__ ( self,
Vector3d a,
Vector3d b,
float distSq,
bool overlap )
Implicit aggregate constructor.

Member Function Documentation

◆ a() [1/2]

Vector3d mrmeshpy.TriTriDistanceResult_double.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_double.a ( self,
Vector3d arg1 )

◆ b() [1/2]

Vector3d mrmeshpy.TriTriDistanceResult_double.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_double.b ( self,
Vector3d arg1 )

◆ distSq() [1/2]

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

◆ operator() [1/2]

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

◆ operator() [2/2]

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

◆ overlap() [1/2]

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

Member Data Documentation

◆ _offsetof_a

typing mrmeshpy.TriTriDistanceResult_double._offsetof_a = 0
staticprotected

◆ _offsetof_b

typing mrmeshpy.TriTriDistanceResult_double._offsetof_b = 24
staticprotected

◆ _offsetof_distSq

typing mrmeshpy.TriTriDistanceResult_double._offsetof_distSq = 48
staticprotected

◆ _offsetof_overlap

typing mrmeshpy.TriTriDistanceResult_double._offsetof_overlap = 56
staticprotected

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