Public Member Functions | |
bool | __bool__ (self) |
bool | __eq__ (self, MeshTriPoint rhs) |
None | __init__ (self) |
None | __init__ (self, Id_EdgeTag e, TriPointf bary) |
None | __init__ (self, EdgePoint ep) |
None | __init__ (self, MeshTopology topology, VertId v) |
None | __init__ (self, MeshTriPoint arg0) |
MeshTriPoint | canonical (self, MeshTopology topology) |
bool | fromTriangle (self, MeshTopology topology, FaceId f) |
std_array_WeightedVertex_3 | getWeightedVerts (self, MeshTopology topology) |
VertId | inVertex (self, MeshTopology topology) |
bool | inVertex (self) |
bool | isBd (self, MeshTopology topology, FaceBitSet region=None) |
MeshTriPoint | lnext (self, MeshTopology topology) |
EdgePoint | onEdge (self, MeshTopology topology) |
bool | valid (self) |
TriPointf | bary (self) |
None | bary (self, TriPointf arg1) |
Id_EdgeTag | e (self) |
None | e (self, Id_EdgeTag arg1) |
Static Public Member Functions | |
None | __init__ (*args, **kwargs) |
Generated from: MR::MeshTriPoint encodes a point inside a triangular mesh face using barycentric coordinates \\ingroup MeshGroup \\details Notations used below: \\n v0 - the value in org( e ) \\n v1 - the value in dest( e ) \\n v2 - the value in dest( next( e ) )
|
static |
None meshlib.mrmeshpy.MeshTriPoint.__init__ | ( | self | ) |
None meshlib.mrmeshpy.MeshTriPoint.__init__ | ( | self, | |
Id_EdgeTag | e, | ||
TriPointf | bary ) |
None meshlib.mrmeshpy.MeshTriPoint.__init__ | ( | self, | |
EdgePoint | ep ) |
None meshlib.mrmeshpy.MeshTriPoint.__init__ | ( | self, | |
MeshTopology | topology, | ||
VertId | v ) |
None meshlib.mrmeshpy.MeshTriPoint.__init__ | ( | self, | |
MeshTriPoint | arg0 ) |
Implicit copy constructor.
bool meshlib.mrmeshpy.MeshTriPoint.__bool__ | ( | self | ) |
bool meshlib.mrmeshpy.MeshTriPoint.__eq__ | ( | self, | |
MeshTriPoint | rhs ) |
returns true if two points are equal including equal not-unique representation
TriPointf meshlib.mrmeshpy.MeshTriPoint.bary | ( | self | ) |
barycentric coordinates \\details a in [0,1], a=0 => point is on next( e ) edge, a=1 => point is in dest( e ) b in [0,1], b=0 => point is on e edge, b=1 => point is in dest( next( e ) ) a+b in [0,1], a+b=0 => point is in org( e ), a+b=1 => point is on prev( e.sym() ) edge
None meshlib.mrmeshpy.MeshTriPoint.bary | ( | self, | |
TriPointf | arg1 ) |
MeshTriPoint meshlib.mrmeshpy.MeshTriPoint.canonical | ( | self, | |
MeshTopology | topology ) |
represents the same point relative to the topology.edgeWithLeft( topology.left( e ) )
Id_EdgeTag meshlib.mrmeshpy.MeshTriPoint.e | ( | self | ) |
left face of this edge is considered
None meshlib.mrmeshpy.MeshTriPoint.e | ( | self, | |
Id_EdgeTag | arg1 ) |
bool meshlib.mrmeshpy.MeshTriPoint.fromTriangle | ( | self, | |
MeshTopology | topology, | ||
FaceId | f ) |
returns true if the point is inside or on the boundary of given triangular face
std_array_WeightedVertex_3 meshlib.mrmeshpy.MeshTriPoint.getWeightedVerts | ( | self, | |
MeshTopology | topology ) |
returns three weighted triangle's vertices with the sum of not-negative weights equal to 1, and the largest weight in the closest vertex
bool meshlib.mrmeshpy.MeshTriPoint.inVertex | ( | self | ) |
returns true if the point is in a vertex
VertId meshlib.mrmeshpy.MeshTriPoint.inVertex | ( | self, | |
MeshTopology | topology ) |
returns valid vertex id if the point is in vertex, otherwise returns invalid id
bool meshlib.mrmeshpy.MeshTriPoint.isBd | ( | self, | |
MeshTopology | topology, | ||
FaceBitSet | region = None ) |
returns true if the point is in vertex or on edge, and that location is on the boundary of the region
MeshTriPoint meshlib.mrmeshpy.MeshTriPoint.lnext | ( | self, | |
MeshTopology | topology ) |
represents the same point relative to next edge in the same triangle
EdgePoint meshlib.mrmeshpy.MeshTriPoint.onEdge | ( | self, | |
MeshTopology | topology ) |
returns valid value if the point is on edge and topology.left(result.e) == topology.left(this->e), otherwise returns invalid MeshEdgePoint
bool meshlib.mrmeshpy.MeshTriPoint.valid | ( | self | ) |
consider this valid if the edge ID is valid