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