MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.MeshTriPoint:

Public Member Functions

None __init__ (self)
None __init__ (self, ConstEdgeId e, ConstTriPointf bary)
None __init__ (self, ConstEdgePoint ep)
None __init__ (self, ConstMeshTopology topology, ConstVertId v)
None __init__ (self, ConstMeshTriPoint arg0)
MeshTriPoint assign (self, ConstMeshTriPoint other)
TriPointf bary (self)
None bary (self, ConstTriPointf arg1)
EdgeId e (self)
None e (self, ConstEdgeId arg1)
Public Member Functions inherited from mrmeshpy.ConstMeshTriPoint
bool __bool__ (self)
bool __eq__ (self, ConstMeshTriPoint rhs)
 __init__ (self, *args, **kwargs)
bool __ne__ (self, ConstMeshTriPoint rhs)
MeshTriPoint canonical (self, ConstMeshTopology topology)
bool fromTriangle (self, ConstMeshTopology topology, ConstFaceId f)
std_array_WeightedVertexT_float_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)
MeshTriPoint lnext (self, ConstMeshTopology topology)
EdgePoint onEdge (self, ConstMeshTopology topology)
bool valid (self)

Static Public Member Functions

None __init__ (*args, **kwargs)
None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstMeshTriPoint
typing _offsetof_bary = 4
typing _offsetof_e = 0

Detailed Description

Generated from:  MR::MeshTriPoint
Aliases:  MeshTriPointf

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 ) )

Constructor & Destructor Documentation

◆ __init__() [1/7]

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

◆ __init__() [2/7]

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

◆ __init__() [3/7]

None mrmeshpy.MeshTriPoint.__init__ ( self)

◆ __init__() [4/7]

None mrmeshpy.MeshTriPoint.__init__ ( self,
ConstEdgeId e,
ConstTriPointf bary )

◆ __init__() [5/7]

None mrmeshpy.MeshTriPoint.__init__ ( self,
ConstEdgePoint ep )

◆ __init__() [6/7]

None mrmeshpy.MeshTriPoint.__init__ ( self,
ConstMeshTopology topology,
ConstVertId v )

◆ __init__() [7/7]

None mrmeshpy.MeshTriPoint.__init__ ( self,
ConstMeshTriPoint arg0 )
Implicit copy constructor.

Member Function Documentation

◆ assign()

MeshTriPoint mrmeshpy.MeshTriPoint.assign ( self,
ConstMeshTriPoint other )

◆ bary() [1/2]

TriPointf 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

Reimplemented from mrmeshpy.ConstMeshTriPoint.

◆ bary() [2/2]

None mrmeshpy.MeshTriPoint.bary ( self,
ConstTriPointf arg1 )
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.ConstMeshTriPoint.

◆ e() [1/2]

EdgeId mrmeshpy.MeshTriPoint.e ( self)
left face of this edge is considered

Reimplemented from mrmeshpy.ConstMeshTriPoint.

◆ e() [2/2]

None mrmeshpy.MeshTriPoint.e ( self,
ConstEdgeId arg1 )
left face of this edge is considered

Reimplemented from mrmeshpy.ConstMeshTriPoint.


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