Public Member Functions | |
| bool | __eq__ (self, ConstSegmPointd rhs) |
| bool | __eq__ (self, float rhs) |
| float | __float__ (self) |
| __init__ (self, *args, **kwargs) | |
| bool | __ne__ (self, ConstSegmPointd rhs) |
| bool | __ne__ (self, float rhs) |
| str | __repr__ (self) |
| int | inVertex (self) |
| SegmPointd | sym (self) |
| float | a (self) |
Static Public Attributes | |
| typing | eps = 2.220446049250313e-15 |
Static Protected Attributes | |
| typing | _offsetof_a = 0 |
Generated from: MR::SegmPointd \\brief encodes a point inside a line segment using relative distance in [0,1]
| mrmeshpy.ConstSegmPointd.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstSegmPointd) -> None 2. __init__(self: meshlib.mrmeshpy.ConstSegmPointd, a: float) -> None 3. __init__(self: meshlib.mrmeshpy.ConstSegmPointd, arg0: meshlib.mrmeshpy.ConstSegmPointd) -> None Implicit copy constructor. 4. __init__(self: meshlib.mrmeshpy.ConstSegmPointd, : meshlib.mrmeshpy.ConstSegmPointd) -> None
| bool mrmeshpy.ConstSegmPointd.__eq__ | ( | self, | |
| ConstSegmPointd | rhs ) |
returns true if two points have equal (a) representation
| bool mrmeshpy.ConstSegmPointd.__eq__ | ( | self, | |
| float | rhs ) |
| float mrmeshpy.ConstSegmPointd.__float__ | ( | self | ) |
| bool mrmeshpy.ConstSegmPointd.__ne__ | ( | self, | |
| ConstSegmPointd | rhs ) |
returns true if two points have equal (a) representation
| bool mrmeshpy.ConstSegmPointd.__ne__ | ( | self, | |
| float | rhs ) |
| str mrmeshpy.ConstSegmPointd.__repr__ | ( | self | ) |
| float mrmeshpy.ConstSegmPointd.a | ( | self | ) |
a in [0,1], a=0 => point is in v0, a=1 => point is in v1
Reimplemented in mrmeshpy.SegmPointd, and mrmeshpy.SegmPointd.
| int mrmeshpy.ConstSegmPointd.inVertex | ( | self | ) |
returns [0,1] if the point is in a vertex or -1 otherwise
| SegmPointd mrmeshpy.ConstSegmPointd.sym | ( | self | ) |
represents the same point relative to oppositely directed segment
|
staticprotected |
|
static |