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

Public Member Functions

None __init__ (self)
None __init__ (self, ConstMeshIntersectionResult arg0)
None __init__ (self, ConstPointOnFace proj, ConstTriPointf tp, float distanceAlongLine)
MeshIntersectionResult assign (self, ConstMeshIntersectionResult other)
float distanceAlongLine (self)
None distanceAlongLine (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.ConstMeshIntersectionResult
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.ConstMeshIntersectionResult
typing _offsetof_distanceAlongLine = 24
typing _offsetof_proj = 0
typing _offsetof_tp = 16

Detailed Description

Generated from:  MR::MeshIntersectionResult

Constructor & Destructor Documentation

◆ __init__() [1/4]

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

◆ __init__() [2/4]

None mrmeshpy.MeshIntersectionResult.__init__ ( self)

◆ __init__() [3/4]

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

◆ __init__() [4/4]

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

Member Function Documentation

◆ assign()

MeshIntersectionResult mrmeshpy.MeshIntersectionResult.assign ( self,
ConstMeshIntersectionResult other )

◆ distanceAlongLine() [1/2]

float mrmeshpy.MeshIntersectionResult.distanceAlongLine ( self)
stores the distance from ray origin to the intersection point in direction units

Reimplemented from mrmeshpy.ConstMeshIntersectionResult.

◆ distanceAlongLine() [2/2]

None mrmeshpy.MeshIntersectionResult.distanceAlongLine ( self,
float arg1 )
stores the distance from ray origin to the intersection point in direction units

Reimplemented from mrmeshpy.ConstMeshIntersectionResult.

◆ proj() [1/2]

PointOnFace mrmeshpy.MeshIntersectionResult.proj ( self)
stores intersected face and global coordinates

Reimplemented from mrmeshpy.ConstMeshIntersectionResult.

◆ proj() [2/2]

None mrmeshpy.MeshIntersectionResult.proj ( self,
ConstPointOnFace arg1 )
stores intersected face and global coordinates

Reimplemented from mrmeshpy.ConstMeshIntersectionResult.

◆ tp() [1/2]

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

Reimplemented from mrmeshpy.ConstMeshIntersectionResult.

◆ tp() [2/2]

None mrmeshpy.MeshIntersectionResult.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.ConstMeshIntersectionResult.


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