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

Public Member Functions

None __init__ (MeshOrPoints.ProjectionResult self)
None __init__ (MeshOrPoints.ProjectionResult self, MeshOrPoints.ConstProjectionResult arg0)
None __init__ (MeshOrPoints.ProjectionResult self, ConstVector3f point, Const_std_optional_Vector3_float normal, bool isBd, float distSq, ConstVertId closestVert)
MeshOrPoints.ProjectionResult assign (MeshOrPoints.ProjectionResult self, MeshOrPoints.ConstProjectionResult other)
VertId closestVert (self)
None closestVert (self, ConstVertId arg1)
float distSq (self)
None distSq (self, float arg1)
bool isBd (self)
None isBd (self, bool arg1)
std_optional_Vector3_float normal (self)
None normal (self, Const_std_optional_Vector3_float arg1)
Vector3f point (self)
None point (self, ConstVector3f arg1)
Public Member Functions inherited from mrmeshpy.MeshOrPoints.ConstProjectionResult
bool __bool__ (self)
 __init__ (self, *args, **kwargs)
bool valid (self)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.MeshOrPoints.ConstProjectionResult
typing _offsetof_closestVert = 36
typing _offsetof_distSq = 32
typing _offsetof_isBd = 28
typing _offsetof_normal = 12
typing _offsetof_point = 0

Detailed Description

Generated from:  MR::MeshOrPoints::ProjectionResult

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.ConstMeshOrPoints.ProjectionResult.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.ConstMeshOrPoints.ProjectionResult.__init__ ( MeshOrPoints.ProjectionResult self)

◆ __init__() [3/4]

None mrmeshpy.ConstMeshOrPoints.ProjectionResult.__init__ ( MeshOrPoints.ProjectionResult self,
MeshOrPoints.ConstProjectionResult arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.ConstMeshOrPoints.ProjectionResult.__init__ ( MeshOrPoints.ProjectionResult self,
ConstVector3f point,
Const_std_optional_Vector3_float normal,
bool isBd,
float distSq,
ConstVertId closestVert )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

MeshOrPoints.ProjectionResult mrmeshpy.ConstMeshOrPoints.ProjectionResult.assign ( MeshOrPoints.ProjectionResult self,
MeshOrPoints.ConstProjectionResult other )

◆ closestVert() [1/2]

VertId mrmeshpy.ConstMeshOrPoints.ProjectionResult.closestVert ( self)
for point clouds it is the closest vertex,
for meshes it is the closest vertex of the triangle with the closest point

Reimplemented from mrmeshpy.MeshOrPoints.ConstProjectionResult.

◆ closestVert() [2/2]

None mrmeshpy.ConstMeshOrPoints.ProjectionResult.closestVert ( self,
ConstVertId arg1 )
for point clouds it is the closest vertex,
for meshes it is the closest vertex of the triangle with the closest point

Reimplemented from mrmeshpy.MeshOrPoints.ConstProjectionResult.

◆ distSq() [1/2]

float mrmeshpy.ConstMeshOrPoints.ProjectionResult.distSq ( self)
squared distance from query point to the closest point

Reimplemented from mrmeshpy.MeshOrPoints.ConstProjectionResult.

◆ distSq() [2/2]

None mrmeshpy.ConstMeshOrPoints.ProjectionResult.distSq ( self,
float arg1 )
squared distance from query point to the closest point

Reimplemented from mrmeshpy.MeshOrPoints.ConstProjectionResult.

◆ isBd() [1/2]

bool mrmeshpy.ConstMeshOrPoints.ProjectionResult.isBd ( self)
can be true only for meshes, if the closest point is located on the boundary of the mesh (or the current region)

Reimplemented from mrmeshpy.MeshOrPoints.ConstProjectionResult.

◆ isBd() [2/2]

None mrmeshpy.ConstMeshOrPoints.ProjectionResult.isBd ( self,
bool arg1 )
can be true only for meshes, if the closest point is located on the boundary of the mesh (or the current region)

Reimplemented from mrmeshpy.MeshOrPoints.ConstProjectionResult.

◆ normal() [1/2]

std_optional_Vector3_float mrmeshpy.ConstMeshOrPoints.ProjectionResult.normal ( self)
normal at the closest point;
for meshes it will be pseudonormal with the differentiation depending on closest point location (face/edge/vertex)

Reimplemented from mrmeshpy.MeshOrPoints.ConstProjectionResult.

◆ normal() [2/2]

None mrmeshpy.ConstMeshOrPoints.ProjectionResult.normal ( self,
Const_std_optional_Vector3_float arg1 )
normal at the closest point;
for meshes it will be pseudonormal with the differentiation depending on closest point location (face/edge/vertex)

Reimplemented from mrmeshpy.MeshOrPoints.ConstProjectionResult.

◆ point() [1/2]

Vector3f mrmeshpy.ConstMeshOrPoints.ProjectionResult.point ( self)
found closest point

Reimplemented from mrmeshpy.MeshOrPoints.ConstProjectionResult.

◆ point() [2/2]

None mrmeshpy.ConstMeshOrPoints.ProjectionResult.point ( self,
ConstVector3f arg1 )
found closest point

Reimplemented from mrmeshpy.MeshOrPoints.ConstProjectionResult.


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