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