MeshLib Python Docs
Loading...
Searching...
No Matches
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)
 

Static Protected Member Functions

 _pybind11_conduit_v1_ (*args, **kwargs)
 

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 mrmeshpy.EdgePoint.__init__ ( self)

◆ __init__() [2/5]

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

◆ __init__() [3/5]

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

◆ __init__() [4/5]

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

◆ __init__() [5/5]

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

Member Function Documentation

◆ __bool__()

bool mrmeshpy.EdgePoint.__bool__ ( self)

◆ __eq__()

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

◆ _pybind11_conduit_v1_()

mrmeshpy.EdgePoint._pybind11_conduit_v1_ ( * args,
** kwargs )
staticprotected

◆ a() [1/2]

SegmPointf 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 mrmeshpy.EdgePoint.a ( self,
SegmPointf arg1 )

◆ getClosestVertex() [1/2]

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

◆ getClosestVertex() [2/2]

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

◆ inVertex() [1/3]

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

◆ inVertex() [2/3]

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

◆ inVertex() [3/3]

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

◆ isBd()

bool 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 mrmeshpy.EdgePoint.moveToClosestVertex ( self)
sets this to the closest end of the edge

◆ sym()

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

◆ valid()

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

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