Public Member Functions | |
| Vector3d | __call__ (self, float param) |
| __init__ (self, *args, **kwargs) | |
| Line3d | __neg__ (self) |
| ConstLine3d | __pos__ (self) |
| str | __repr__ (self) |
| typing.Any | __rlshift__ (self, typing.Any l) |
| float | distanceSq (self, ConstVector3d x) |
| Line3d | normalized (self) |
| Vector3d | project (self, ConstVector3d x) |
| float | projectionParam (self, ConstVector3d x) |
| ConstVector3d | d (self) |
| ConstVector3d | p (self) |
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
| mrmeshpy.ConstLine3d.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstLine3d) -> None 2. __init__(self: meshlib.mrmeshpy.ConstLine3d, p: meshlib.mrmeshpy.ConstVector3d, d: meshlib.mrmeshpy.ConstVector3d) -> None 3. __init__(self: meshlib.mrmeshpy.ConstLine3d, arg0: meshlib.mrmeshpy.ConstLine3d) -> None Implicit copy constructor. 4. __init__(self: meshlib.mrmeshpy.ConstLine3d, : meshlib.mrmeshpy.ConstLine3d) -> None
| Vector3d mrmeshpy.ConstLine3d.__call__ | ( | self, | |
| float | param ) |
returns point on the line, where param=0 returns p and param=1 returns p+d
| Line3d mrmeshpy.ConstLine3d.__neg__ | ( | self | ) |
returns same line represented with flipped direction of d-vector
| ConstLine3d mrmeshpy.ConstLine3d.__pos__ | ( | self | ) |
returns same representation
| str mrmeshpy.ConstLine3d.__repr__ | ( | self | ) |
| typing.Any mrmeshpy.ConstLine3d.__rlshift__ | ( | self, | |
| typing.Any | l ) |
| ConstVector3d mrmeshpy.ConstLine3d.d | ( | self | ) |
Reimplemented in mrmeshpy.Line3d, and mrmeshpy.Line3d.
| float mrmeshpy.ConstLine3d.distanceSq | ( | self, | |
| ConstVector3d | x ) |
returns squared distance from given point to this line
| Line3d mrmeshpy.ConstLine3d.normalized | ( | self | ) |
returns same line represented with unit d-vector
| ConstVector3d mrmeshpy.ConstLine3d.p | ( | self | ) |
Reimplemented in mrmeshpy.Line3d, and mrmeshpy.Line3d.
| Vector3d mrmeshpy.ConstLine3d.project | ( | self, | |
| ConstVector3d | x ) |
finds the closest point to the given one on this line
| float mrmeshpy.ConstLine3d.projectionParam | ( | self, | |
| ConstVector3d | x ) |
finds the parameter of the closest point to the given one on this line
|
staticprotected |
|
staticprotected |