Public Member Functions | |
| Vector2f | __call__ (self, float param) |
| None | __init__ (self) |
| None | __init__ (self, Vector2f p, Vector2f d) |
| None | __init__ (self, Line2f arg0) |
| Line2f | __neg__ (self) |
| Line2f | __pos__ (self) |
| float | distanceSq (self, Vector2f x) |
| Line2f | normalized (self) |
| Vector2f | project (self, Vector2f x) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| Line2f | operator (*args, **kwargs) |
| Line2f | operator (*args, **kwargs) |
Static Protected Attributes | |
| typing | _offsetof_d = 8 |
| typing | _offsetof_p = 0 |
Generated from: MR::Line2f 2- or 3-dimensional line: cross( x - p, d ) = 0
|
static |
| None mrmeshpy.Line2f.__init__ | ( | self | ) |
| None mrmeshpy.Line2f.__init__ | ( | self, | |
| Line2f | arg0 ) |
Implicit copy constructor.
| Vector2f mrmeshpy.Line2f.__call__ | ( | self, | |
| float | param ) |
returns point on the line, where param=0 returns p and param=1 returns p+d
| Line2f mrmeshpy.Line2f.__neg__ | ( | self | ) |
returns same line represented with flipped direction of d-vector
| Line2f mrmeshpy.Line2f.__pos__ | ( | self | ) |
returns same representation
| float mrmeshpy.Line2f.distanceSq | ( | self, | |
| Vector2f | x ) |
returns squared distance from given point to this line
| Line2f mrmeshpy.Line2f.normalized | ( | self | ) |
returns same line represented with unit d-vector
|
static |
|
static |
|
staticprotected |
|
staticprotected |