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