Public Member Functions | |
Vector2d | __call__ (self, float param) |
None | __init__ (self) |
None | __init__ (self, Vector2d p, Vector2d d) |
None | __init__ (self, Line2d arg0) |
Line2d | __neg__ (self) |
Line2d | __pos__ (self) |
float | distanceSq (self, Vector2d x) |
Line2d | normalized (self) |
Vector2d | project (self, Vector2d x) |
Generated from: MR::Line2d Aliases: Line_Vector2_double 2- or 3-dimensional line: cross( x - p, d ) = 0 \\ingroup MathGroup
None meshlib.mrmeshpy.Line2d.__init__ | ( | self | ) |
None meshlib.mrmeshpy.Line2d.__init__ | ( | self, | |
Line2d | arg0 ) |
Implicit copy constructor.
Vector2d meshlib.mrmeshpy.Line2d.__call__ | ( | self, | |
float | param ) |
returns point on the line, where param=0 returns p and param=1 returns p+d
Line2d meshlib.mrmeshpy.Line2d.__neg__ | ( | self | ) |
returns same line represented with flipped direction of d-vector
Line2d meshlib.mrmeshpy.Line2d.__pos__ | ( | self | ) |
returns same representation
float meshlib.mrmeshpy.Line2d.distanceSq | ( | self, | |
Vector2d | x ) |
returns squared distance from given point to this line
Line2d meshlib.mrmeshpy.Line2d.normalized | ( | self | ) |
returns same line represented with unit d-vector