Public Member Functions | |
| Vector3f | __call__ (self, float param) |
| __init__ (self, *args, **kwargs) | |
| Vector3f | dir (self) |
| float | length (self) |
| float | lengthSq (self) |
| ConstVector3f | a (self) |
| ConstVector3f | b (self) |
Static Protected Attributes | |
| typing | _offsetof_a = 0 |
| typing | _offsetof_b = 12 |
Generated from: MR::LineSegm3f a segment of straight dimensional line
| mrmeshpy.ConstLineSegm3f.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstLineSegm3f) -> None 2. __init__(self: meshlib.mrmeshpy.ConstLineSegm3f, a: meshlib.mrmeshpy.ConstVector3f, b: meshlib.mrmeshpy.ConstVector3f) -> None 3. __init__(self: meshlib.mrmeshpy.ConstLineSegm3f, arg0: meshlib.mrmeshpy.ConstLineSegm3f) -> None Implicit copy constructor. 4. __init__(self: meshlib.mrmeshpy.ConstLineSegm3f, : meshlib.mrmeshpy.ConstLineSegm3f) -> None
| Vector3f mrmeshpy.ConstLineSegm3f.__call__ | ( | self, | |
| float | param ) |
returns point on the line, where param=0 returns a and param=1 returns b
| ConstVector3f mrmeshpy.ConstLineSegm3f.a | ( | self | ) |
Reimplemented in mrmeshpy.LineSegm3f, and mrmeshpy.LineSegm3f.
| ConstVector3f mrmeshpy.ConstLineSegm3f.b | ( | self | ) |
Reimplemented in mrmeshpy.LineSegm3f, and mrmeshpy.LineSegm3f.
| Vector3f mrmeshpy.ConstLineSegm3f.dir | ( | self | ) |
returns directional vector of the line
| float mrmeshpy.ConstLineSegm3f.length | ( | self | ) |
returns the length of this line segment
| float mrmeshpy.ConstLineSegm3f.lengthSq | ( | self | ) |
returns squared length of this line segment
|
staticprotected |
|
staticprotected |