Public Member Functions | |
| bool | __bool__ (self) |
| bool | __eq__ (self, EdgePoint rhs) |
| None | __init__ (self) |
| None | __init__ (self, EdgeId 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 Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| EdgePoint | operator (*args, **kwargs) |
| EdgePoint | operator (*args, **kwargs) |
Static Protected Attributes | |
| typing | _offsetof_a = 4 |
| typing | _offsetof_e = 0 |
Generated from: MR::EdgePoint Aliases: MeshEdgePoint, MeshEdgePoint encodes a point on an edge of mesh or of polyline
|
static |
| None mrmeshpy.EdgePoint.__init__ | ( | self | ) |
| None mrmeshpy.EdgePoint.__init__ | ( | self, | |
| EdgeId | e, | ||
| float | a ) |
| None mrmeshpy.EdgePoint.__init__ | ( | self, | |
| MeshTopology | topology, | ||
| VertId | v ) |
| None mrmeshpy.EdgePoint.__init__ | ( | self, | |
| PolylineTopology | topology, | ||
| VertId | v ) |
| None mrmeshpy.EdgePoint.__init__ | ( | self, | |
| EdgePoint | arg0 ) |
Implicit copy constructor.
| bool mrmeshpy.EdgePoint.__bool__ | ( | self | ) |
| bool mrmeshpy.EdgePoint.__eq__ | ( | self, | |
| EdgePoint | rhs ) |
returns true if two edge-points are equal including equal not-unique representation
| SegmPointf mrmeshpy.EdgePoint.a | ( | self | ) |
a in [0,1], a=0 => point is in org( e ), a=1 => point is in dest( e )
| None mrmeshpy.EdgePoint.a | ( | self, | |
| SegmPointf | arg1 ) |
| VertId mrmeshpy.EdgePoint.getClosestVertex | ( | self, | |
| MeshTopology | topology ) |
returns one of two edge vertices, closest to this point
| VertId mrmeshpy.EdgePoint.getClosestVertex | ( | self, | |
| PolylineTopology | topology ) |
returns one of two edge vertices, closest to this point
| bool mrmeshpy.EdgePoint.inVertex | ( | self | ) |
returns true if the point is in a vertex
| VertId mrmeshpy.EdgePoint.inVertex | ( | self, | |
| MeshTopology | topology ) |
returns valid vertex id if the point is in vertex, otherwise returns invalid id
| VertId mrmeshpy.EdgePoint.inVertex | ( | self, | |
| PolylineTopology | topology ) |
returns valid vertex id if the point is in vertex, otherwise returns invalid id
| 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)
| None mrmeshpy.EdgePoint.moveToClosestVertex | ( | self | ) |
sets this to the closest end of the edge
|
static |
|
static |
| EdgePoint mrmeshpy.EdgePoint.sym | ( | self | ) |
represents the same point relative to sym edge in
| bool mrmeshpy.EdgePoint.valid | ( | self | ) |
consider this valid if the edge ID is valid
|
staticprotected |
|
staticprotected |