MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.EdgePoint Class Reference

Public Member Functions

bool __bool__ (self)
 
bool __eq__ (self, EdgePoint rhs)
 
None __init__ (self)
 
None __init__ (self, Id_EdgeTag e, float a)
 
None __init__ (self, MeshTopology topology, VertId v)
 
None __init__ (self, PolylineTopology topology, VertId v)
 
None __init__ (self, EdgePoint arg0)
 
VertId getClosestVertex (self, MeshTopology topology)
 
VertId getClosestVertex (self, PolylineTopology topology)
 
VertId inVertex (self, MeshTopology topology)
 
VertId inVertex (self, PolylineTopology topology)
 
bool inVertex (self)
 
bool isBd (self, MeshTopology topology, FaceBitSet region=None)
 
None moveToClosestVertex (self)
 
EdgePoint sym (self)
 
bool valid (self)
 
SegmPointf a (self)
 
None a (self, SegmPointf arg1)
 

Detailed Description

Generated from:  MR::EdgePoint
Aliases:  MeshEdgePoint, MeshEdgePoint

encodes a point on an edge of mesh or of polyline

Constructor & Destructor Documentation

◆ __init__() [1/5]

None meshlib.mrmeshpy.EdgePoint.__init__ ( self)

◆ __init__() [2/5]

None meshlib.mrmeshpy.EdgePoint.__init__ ( self,
Id_EdgeTag e,
float a )

◆ __init__() [3/5]

None meshlib.mrmeshpy.EdgePoint.__init__ ( self,
MeshTopology topology,
VertId v )

◆ __init__() [4/5]

None meshlib.mrmeshpy.EdgePoint.__init__ ( self,
PolylineTopology topology,
VertId v )

◆ __init__() [5/5]

None meshlib.mrmeshpy.EdgePoint.__init__ ( self,
EdgePoint arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __bool__()

bool meshlib.mrmeshpy.EdgePoint.__bool__ ( self)

◆ __eq__()

bool meshlib.mrmeshpy.EdgePoint.__eq__ ( self,
EdgePoint rhs )
returns true if two edge-points are equal including equal not-unique representation

◆ a() [1/2]

SegmPointf meshlib.mrmeshpy.EdgePoint.a ( self)
a in [0,1], a=0 => point is in org( e ), a=1 => point is in dest( e )

◆ a() [2/2]

None meshlib.mrmeshpy.EdgePoint.a ( self,
SegmPointf arg1 )

◆ getClosestVertex() [1/2]

VertId meshlib.mrmeshpy.EdgePoint.getClosestVertex ( self,
MeshTopology topology )
returns one of two edge vertices, closest to this point

◆ getClosestVertex() [2/2]

VertId meshlib.mrmeshpy.EdgePoint.getClosestVertex ( self,
PolylineTopology topology )
returns one of two edge vertices, closest to this point

◆ inVertex() [1/3]

bool meshlib.mrmeshpy.EdgePoint.inVertex ( self)
returns true if the point is in a vertex

◆ inVertex() [2/3]

VertId meshlib.mrmeshpy.EdgePoint.inVertex ( self,
MeshTopology topology )
returns valid vertex id if the point is in vertex, otherwise returns invalid id

◆ inVertex() [3/3]

VertId meshlib.mrmeshpy.EdgePoint.inVertex ( self,
PolylineTopology topology )
returns valid vertex id if the point is in vertex, otherwise returns invalid id

◆ isBd()

bool meshlib.mrmeshpy.EdgePoint.isBd ( self,
MeshTopology topology,
FaceBitSet region = None )
returns true if the point is on the boundary of the region (or for whole mesh if region is nullptr)

◆ moveToClosestVertex()

None meshlib.mrmeshpy.EdgePoint.moveToClosestVertex ( self)
sets this to the closest end of the edge

◆ sym()

EdgePoint meshlib.mrmeshpy.EdgePoint.sym ( self)
represents the same point relative to sym edge in

◆ valid()

bool meshlib.mrmeshpy.EdgePoint.valid ( self)
consider this valid if the edge ID is valid

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