MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstEdgePointd Class Reference
Inheritance diagram for mrmeshpy.ConstEdgePointd:

Public Member Functions

bool __bool__ (self)
bool __eq__ (self, ConstEdgePointd rhs)
 __init__ (self, *args, **kwargs)
bool __ne__ (self, ConstEdgePointd rhs)
VertId getClosestVertex (self, ConstMeshTopology topology)
VertId getClosestVertex (self, ConstPolylineTopology topology)
VertId inVertex (self, ConstMeshTopology topology)
VertId inVertex (self, ConstPolylineTopology topology)
bool inVertex (self)
bool isBd (self, ConstMeshTopology topology, ConstFaceBitSet region=None)
EdgePointd sym (self)
bool valid (self)
ConstSegmPointd a (self)
ConstEdgeId e (self)

Static Protected Attributes

typing _offsetof_a = 8
typing _offsetof_e = 0

Detailed Description

Generated from:  MR::EdgePointd
Aliases:  MeshEdgePointd

encodes a point on an edge of mesh or of polyline

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstEdgePointd.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstEdgePointd) -> None

2. __init__(self: meshlib.mrmeshpy.ConstEdgePointd, e: meshlib.mrmeshpy.ConstEdgeId, a: float) -> None

3. __init__(self: meshlib.mrmeshpy.ConstEdgePointd, topology: meshlib.mrmeshpy.ConstMeshTopology, v: meshlib.mrmeshpy.ConstVertId) -> None

4. __init__(self: meshlib.mrmeshpy.ConstEdgePointd, topology: meshlib.mrmeshpy.ConstPolylineTopology, v: meshlib.mrmeshpy.ConstVertId) -> None

5. __init__(self: meshlib.mrmeshpy.ConstEdgePointd, arg0: meshlib.mrmeshpy.ConstEdgePointd) -> None

Implicit copy constructor.

6. __init__(self: meshlib.mrmeshpy.ConstEdgePointd, : meshlib.mrmeshpy.ConstEdgePointd) -> None

Member Function Documentation

◆ __bool__()

bool mrmeshpy.ConstEdgePointd.__bool__ ( self)

◆ __eq__()

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

◆ __ne__()

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

◆ a()

ConstSegmPointd mrmeshpy.ConstEdgePointd.a ( self)
a in [0,1], a=0 => point is in org( e ), a=1 => point is in dest( e )

Reimplemented in mrmeshpy.EdgePointd, and mrmeshpy.EdgePointd.

◆ e()

ConstEdgeId mrmeshpy.ConstEdgePointd.e ( self)

Reimplemented in mrmeshpy.EdgePointd, and mrmeshpy.EdgePointd.

◆ getClosestVertex() [1/2]

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

◆ getClosestVertex() [2/2]

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

◆ inVertex() [1/3]

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

◆ inVertex() [2/3]

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

◆ inVertex() [3/3]

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

◆ isBd()

bool mrmeshpy.ConstEdgePointd.isBd ( self,
ConstMeshTopology topology,
ConstFaceBitSet region = None )
returns true if the point is on the boundary of the region (or for whole mesh if region is nullptr)

◆ sym()

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

◆ valid()

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

Member Data Documentation

◆ _offsetof_a

typing mrmeshpy.ConstEdgePointd._offsetof_a = 8
staticprotected

◆ _offsetof_e

typing mrmeshpy.ConstEdgePointd._offsetof_e = 0
staticprotected

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