Public Member Functions | |
Vector2f | __call__ (self, float param) |
None | __init__ (self) |
None | __init__ (self, Vector2f a, Vector2f b) |
None | __init__ (self, LineSegm2f arg0) |
Vector2f | dir (self) |
float | length (self) |
float | lengthSq (self) |
Generated from: MR::LineSegm2f Aliases: LineSegm_Vector2f, LineSegm_Vector2_float a segment of straight dimensional line
None meshlib.mrmeshpy.LineSegm2f.__init__ | ( | self | ) |
None meshlib.mrmeshpy.LineSegm2f.__init__ | ( | self, | |
LineSegm2f | arg0 ) |
Implicit copy constructor.
Vector2f meshlib.mrmeshpy.LineSegm2f.__call__ | ( | self, | |
float | param ) |
returns point on the line, where param=0 returns a and param=1 returns b
Vector2f meshlib.mrmeshpy.LineSegm2f.dir | ( | self | ) |
returns directional vector of the line
float meshlib.mrmeshpy.LineSegm2f.length | ( | self | ) |
returns the length of this line segment
float meshlib.mrmeshpy.LineSegm2f.lengthSq | ( | self | ) |
returns squared length of this line segment