Public Member Functions | |
| Vector3f | __call__ (self, float param) |
| __init__ (self, *args, **kwargs) | |
| Line3f | __neg__ (self) |
| ConstLine3f | __pos__ (self) |
| str | __repr__ (self) |
| typing.Any | __rlshift__ (self, typing.Any l) |
| float | distanceSq (self, ConstVector3f x) |
| Line3f | normalized (self) |
| Vector3f | project (self, ConstVector3f x) |
| float | projectionParam (self, ConstVector3f x) |
| ConstVector3f | d (self) |
| ConstVector3f | p (self) |
Static Protected Attributes | |
| typing | _offsetof_d = 12 |
| typing | _offsetof_p = 0 |
Generated from: MR::Line3f 2- or 3-dimensional line: cross( x - p, d ) = 0
| mrmeshpy.ConstLine3f.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstLine3f) -> None 2. __init__(self: meshlib.mrmeshpy.ConstLine3f, p: meshlib.mrmeshpy.ConstVector3f, d: meshlib.mrmeshpy.ConstVector3f) -> None 3. __init__(self: meshlib.mrmeshpy.ConstLine3f, l: meshlib.mrmeshpy.ConstLine3d) -> None 4. __init__(self: meshlib.mrmeshpy.ConstLine3f, arg0: meshlib.mrmeshpy.ConstLine3f) -> None Implicit copy constructor. 5. __init__(self: meshlib.mrmeshpy.ConstLine3f, : meshlib.mrmeshpy.ConstLine3f) -> None
| Vector3f mrmeshpy.ConstLine3f.__call__ | ( | self, | |
| float | param ) |
returns point on the line, where param=0 returns p and param=1 returns p+d
| Line3f mrmeshpy.ConstLine3f.__neg__ | ( | self | ) |
returns same line represented with flipped direction of d-vector
| ConstLine3f mrmeshpy.ConstLine3f.__pos__ | ( | self | ) |
returns same representation
| str mrmeshpy.ConstLine3f.__repr__ | ( | self | ) |
| typing.Any mrmeshpy.ConstLine3f.__rlshift__ | ( | self, | |
| typing.Any | l ) |
| ConstVector3f mrmeshpy.ConstLine3f.d | ( | self | ) |
Reimplemented in mrmeshpy.Line3f, and mrmeshpy.Line3f.
| float mrmeshpy.ConstLine3f.distanceSq | ( | self, | |
| ConstVector3f | x ) |
returns squared distance from given point to this line
| Line3f mrmeshpy.ConstLine3f.normalized | ( | self | ) |
returns same line represented with unit d-vector
| ConstVector3f mrmeshpy.ConstLine3f.p | ( | self | ) |
Reimplemented in mrmeshpy.Line3f, and mrmeshpy.Line3f.
| Vector3f mrmeshpy.ConstLine3f.project | ( | self, | |
| ConstVector3f | x ) |
finds the closest point to the given one on this line
| float mrmeshpy.ConstLine3f.projectionParam | ( | self, | |
| ConstVector3f | x ) |
finds the parameter of the closest point to the given one on this line
|
staticprotected |
|
staticprotected |