Public Member Functions | |
| bool | __bool__ (self) |
| __init__ (self, *args, **kwargs) | |
| MeshTriPoint | mtp (self, ConstMeshTopology topology) |
| bool | valid (self) |
| float | distanceAlongLine (self) |
| ConstPointOnFace | proj (self) |
| ConstTriPointf | tp (self) |
Static Protected Attributes | |
| typing | _offsetof_distanceAlongLine = 24 |
| typing | _offsetof_proj = 0 |
| typing | _offsetof_tp = 16 |
Generated from: MR::MeshIntersectionResult
| mrmeshpy.ConstMeshIntersectionResult.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstMeshIntersectionResult) -> None 2. __init__(self: meshlib.mrmeshpy.ConstMeshIntersectionResult, arg0: meshlib.mrmeshpy.ConstMeshIntersectionResult) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstMeshIntersectionResult, proj: meshlib.mrmeshpy.ConstPointOnFace, tp: meshlib.mrmeshpy.ConstTriPointf, distanceAlongLine: float) -> None Implicit aggregate constructor. 4. __init__(self: meshlib.mrmeshpy.ConstMeshIntersectionResult, : meshlib.mrmeshpy.ConstMeshIntersectionResult) -> None
| bool mrmeshpy.ConstMeshIntersectionResult.__bool__ | ( | self | ) |
| float mrmeshpy.ConstMeshIntersectionResult.distanceAlongLine | ( | self | ) |
stores the distance from ray origin to the intersection point in direction units
Reimplemented in mrmeshpy.MeshIntersectionResult, and mrmeshpy.MeshIntersectionResult.
| MeshTriPoint mrmeshpy.ConstMeshIntersectionResult.mtp | ( | self, | |
| ConstMeshTopology | topology ) |
returns the intersection point as MeshTriPoint relative to topology.edgeWithLeft( proj.face ), or invalid MeshTriPoint if no intersection was found
| ConstPointOnFace mrmeshpy.ConstMeshIntersectionResult.proj | ( | self | ) |
stores intersected face and global coordinates
Reimplemented in mrmeshpy.MeshIntersectionResult, and mrmeshpy.MeshIntersectionResult.
| ConstTriPointf mrmeshpy.ConstMeshIntersectionResult.tp | ( | self | ) |
barycentric coordinates of proj relative to the vertices of proj.face in the order of MeshTopology::getTriVerts( proj.face )
Reimplemented in mrmeshpy.MeshIntersectionResult, and mrmeshpy.MeshIntersectionResult.
| bool mrmeshpy.ConstMeshIntersectionResult.valid | ( | self | ) |
check for validity
|
staticprotected |
|
staticprotected |
|
staticprotected |