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

Public Member Functions

bool __bool__ (self)
 __init__ (self, *args, **kwargs)
bool valid (self)
float distSq (self)
ConstMeshTriPoint mtp (self)
ConstPointOnFace proj (self)

Static Protected Attributes

typing _offsetof_distSq = 28
typing _offsetof_mtp = 16
typing _offsetof_proj = 0

Detailed Description

Generated from:  MR::MeshProjectionResult

Constructor & Destructor Documentation

◆ __init__()

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

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

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

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstMeshProjectionResult, proj: meshlib.mrmeshpy.ConstPointOnFace, mtp: meshlib.mrmeshpy.ConstMeshTriPoint, distSq: float) -> None

Implicit aggregate constructor.

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

Member Function Documentation

◆ __bool__()

bool mrmeshpy.ConstMeshProjectionResult.__bool__ ( self)

◆ distSq()

float mrmeshpy.ConstMeshProjectionResult.distSq ( self)
squared distance from original projected point to proj

Reimplemented in mrmeshpy.MeshProjectionResult, and mrmeshpy.MeshProjectionResult.

◆ mtp()

ConstMeshTriPoint mrmeshpy.ConstMeshProjectionResult.mtp ( self)
its barycentric representation

Reimplemented in mrmeshpy.MeshProjectionResult, and mrmeshpy.MeshProjectionResult.

◆ proj()

ConstPointOnFace mrmeshpy.ConstMeshProjectionResult.proj ( self)
the closest point on mesh, transformed by xf if it is given

Reimplemented in mrmeshpy.MeshProjectionResult, and mrmeshpy.MeshProjectionResult.

◆ valid()

bool mrmeshpy.ConstMeshProjectionResult.valid ( self)
check for validity, otherwise the projection was not found

Member Data Documentation

◆ _offsetof_distSq

typing mrmeshpy.ConstMeshProjectionResult._offsetof_distSq = 28
staticprotected

◆ _offsetof_mtp

typing mrmeshpy.ConstMeshProjectionResult._offsetof_mtp = 16
staticprotected

◆ _offsetof_proj

typing mrmeshpy.ConstMeshProjectionResult._offsetof_proj = 0
staticprotected

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