|
| None | __init__ (self) |
| None | __init__ (self, ConstEdgeId e, ConstTriPointd bary) |
| None | __init__ (self, ConstEdgePointd ep) |
| None | __init__ (self, ConstMeshTopology topology, ConstVertId v) |
| None | __init__ (self, ConstMeshTriPointd arg0) |
| MeshTriPointd | assign (self, ConstMeshTriPointd other) |
| TriPointd | bary (self) |
| None | bary (self, ConstTriPointd arg1) |
| EdgeId | e (self) |
| None | e (self, ConstEdgeId arg1) |
| bool | __bool__ (self) |
| bool | __eq__ (self, ConstMeshTriPointd rhs) |
| | __init__ (self, *args, **kwargs) |
| bool | __ne__ (self, ConstMeshTriPointd rhs) |
| MeshTriPointd | canonical (self, ConstMeshTopology topology) |
| bool | fromTriangle (self, ConstMeshTopology topology, ConstFaceId f) |
| std_array_WeightedVertexT_double_3 | getWeightedVerts (self, ConstMeshTopology topology) |
| VertId | inVertex (self, ConstMeshTopology topology) |
| bool | inVertex (self) |
| float | interpolate (self, ConstMeshTopology topology, ConstVertScalars field) |
| bool | isBd (self, ConstMeshTopology topology, ConstFaceBitSet region=None) |
| MeshTriPointd | lnext (self, ConstMeshTopology topology) |
| EdgePointd | onEdge (self, ConstMeshTopology topology) |
| bool | valid (self) |
Generated from: MR::MeshTriPointd
encodes a point inside a triangular mesh face using barycentric coordinates
\\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 ) )
| TriPointd mrmeshpy.MeshTriPointd.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
Reimplemented from mrmeshpy.ConstMeshTriPointd.
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
Reimplemented from mrmeshpy.ConstMeshTriPointd.