Public Member Functions | |
bool | __eq__ (self, SegmPointf rhs) |
bool | __eq__ (self, float rhs) |
None | __init__ (self) |
None | __init__ (self, float a) |
None | __init__ (self, SegmPointf arg0) |
int | inVertex (self) |
SegmPointf | sym (self) |
float | a (self) |
None | a (self, float arg1) |
Static Public Attributes | |
typing | eps = 1.1920928955078125e-06 |
Protected Member Functions | |
float | _convert_to_float (self) |
float | _convert_to_float (self) |
Generated from: MR::SegmPointf Aliases: SegmPoint_float \\brief encodes a point inside a line segment using relative distance in [0,1] \\ingroup MathGroup
None meshlib.mrmeshpy.SegmPointf.__init__ | ( | self | ) |
None meshlib.mrmeshpy.SegmPointf.__init__ | ( | self, | |
float | a ) |
None meshlib.mrmeshpy.SegmPointf.__init__ | ( | self, | |
SegmPointf | arg0 ) |
Implicit copy constructor.
bool meshlib.mrmeshpy.SegmPointf.__eq__ | ( | self, | |
float | rhs ) |
bool meshlib.mrmeshpy.SegmPointf.__eq__ | ( | self, | |
SegmPointf | rhs ) |
returns true if two points have equal (a) representation
|
protected |
|
protected |
float meshlib.mrmeshpy.SegmPointf.a | ( | self | ) |
a in [0,1], a=0 => point is in v0, a=1 => point is in v1
None meshlib.mrmeshpy.SegmPointf.a | ( | self, | |
float | arg1 ) |
int meshlib.mrmeshpy.SegmPointf.inVertex | ( | self | ) |
returns [0,1] if the point is in a vertex or -1 otherwise
SegmPointf meshlib.mrmeshpy.SegmPointf.sym | ( | self | ) |
represents the same point relative to oppositely directed segment
|
static |