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

Public Member Functions

 __init__ (self, *args, **kwargs)
ConstMeshProjectionResult a (self)
ConstMeshProjectionResult b (self)
float distSq (self)

Static Protected Attributes

typing _offsetof_a = 0
typing _offsetof_b = 28
typing _offsetof_distSq = 56

Detailed Description

Generated from:  MR::MeshMeshDistanceResult

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstMeshMeshDistanceResult.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstMeshMeshDistanceResult) -> None

2. __init__(self: meshlib.mrmeshpy.ConstMeshMeshDistanceResult, arg0: meshlib.mrmeshpy.ConstMeshMeshDistanceResult) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstMeshMeshDistanceResult, a: meshlib.mrmeshpy.ConstMeshProjectionResult, b: meshlib.mrmeshpy.ConstMeshProjectionResult, distSq: float) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.ConstMeshMeshDistanceResult, : meshlib.mrmeshpy.ConstMeshMeshDistanceResult) -> None

Member Function Documentation

◆ a()

ConstMeshProjectionResult mrmeshpy.ConstMeshMeshDistanceResult.a ( self)
two closest points: from meshes A and B respectively, each one as the projection of the other point;
unlike the conversion of a point's position, its barycentric coordinates place it exactly on the edge or in the vertex where it was found

Reimplemented in mrmeshpy.MeshMeshDistanceResult, and mrmeshpy.MeshMeshDistanceResult.

◆ b()

ConstMeshProjectionResult mrmeshpy.ConstMeshMeshDistanceResult.b ( self)
two closest points: from meshes A and B respectively, each one as the projection of the other point;
unlike the conversion of a point's position, its barycentric coordinates place it exactly on the edge or in the vertex where it was found

Reimplemented in mrmeshpy.MeshMeshDistanceResult, and mrmeshpy.MeshMeshDistanceResult.

◆ distSq()

float mrmeshpy.ConstMeshMeshDistanceResult.distSq ( self)
squared distance between a and b

Reimplemented in mrmeshpy.MeshMeshDistanceResult, and mrmeshpy.MeshMeshDistanceResult.

Member Data Documentation

◆ _offsetof_a

typing mrmeshpy.ConstMeshMeshDistanceResult._offsetof_a = 0
staticprotected

◆ _offsetof_b

typing mrmeshpy.ConstMeshMeshDistanceResult._offsetof_b = 28
staticprotected

◆ _offsetof_distSq

typing mrmeshpy.ConstMeshMeshDistanceResult._offsetof_distSq = 56
staticprotected

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