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

Public Member Functions

None __init__ (self)
None __init__ (self, ConstMeshProjectionResult arg0)
None __init__ (self, ConstPointOnFace proj, ConstTriPointf tp, float distSq)
MeshProjectionResult assign (self, ConstMeshProjectionResult other)
float distSq (self)
None distSq (self, float arg1)
PointOnFace proj (self)
None proj (self, ConstPointOnFace arg1)
TriPointf tp (self)
None tp (self, ConstTriPointf arg1)
Public Member Functions inherited from mrmeshpy.ConstMeshProjectionResult
bool __bool__ (self)
 __init__ (self, *args, **kwargs)
MeshTriPoint mtp (self, ConstMeshTopology topology)
bool valid (self)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstMeshProjectionResult
typing _offsetof_distSq = 24
typing _offsetof_proj = 0
typing _offsetof_tp = 16

Detailed Description

Generated from:  MR::MeshProjectionResult

Constructor & Destructor Documentation

◆ __init__() [1/4]

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

◆ __init__() [2/4]

None mrmeshpy.MeshProjectionResult.__init__ ( self)

◆ __init__() [3/4]

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

◆ __init__() [4/4]

None mrmeshpy.MeshProjectionResult.__init__ ( self,
ConstPointOnFace proj,
ConstTriPointf tp,
float distSq )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

MeshProjectionResult mrmeshpy.MeshProjectionResult.assign ( self,
ConstMeshProjectionResult other )

◆ distSq() [1/2]

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

Reimplemented from mrmeshpy.ConstMeshProjectionResult.

◆ distSq() [2/2]

None mrmeshpy.MeshProjectionResult.distSq ( self,
float arg1 )
squared distance from original projected point to proj

Reimplemented from mrmeshpy.ConstMeshProjectionResult.

◆ proj() [1/2]

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

Reimplemented from mrmeshpy.ConstMeshProjectionResult.

◆ proj() [2/2]

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

Reimplemented from mrmeshpy.ConstMeshProjectionResult.

◆ tp() [1/2]

TriPointf mrmeshpy.MeshProjectionResult.tp ( self)
barycentric coordinates of proj relative to the vertices of proj.face in the order of MeshTopology::getTriVerts( proj.face )

Reimplemented from mrmeshpy.ConstMeshProjectionResult.

◆ tp() [2/2]

None mrmeshpy.MeshProjectionResult.tp ( self,
ConstTriPointf arg1 )
barycentric coordinates of proj relative to the vertices of proj.face in the order of MeshTopology::getTriVerts( proj.face )

Reimplemented from mrmeshpy.ConstMeshProjectionResult.


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