Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| ConstVector3f | a (self) |
| ConstVector3f | b (self) |
| ConstVector3f | dir (self) |
Static Protected Attributes | |
| typing | _offsetof_a = 0 |
| typing | _offsetof_b = 12 |
| typing | _offsetof_dir = 24 |
Generated from: MR::TwoLineSegmClosestPoints<float> Aliases: TwoLineSegmClosestPointsf
| mrmeshpy.ConstTwoLineSegmClosestPoints_float.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstTwoLineSegmClosestPoints_float) -> None 2. __init__(self: meshlib.mrmeshpy.ConstTwoLineSegmClosestPoints_float, arg0: meshlib.mrmeshpy.ConstTwoLineSegmClosestPoints_float) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstTwoLineSegmClosestPoints_float, a: meshlib.mrmeshpy.ConstVector3f, b: meshlib.mrmeshpy.ConstVector3f, dir: meshlib.mrmeshpy.ConstVector3f) -> None Implicit aggregate constructor. 4. __init__(self: meshlib.mrmeshpy.ConstTwoLineSegmClosestPoints_float, : meshlib.mrmeshpy.ConstTwoLineSegmClosestPoints_float) -> None
| ConstVector3f mrmeshpy.ConstTwoLineSegmClosestPoints_float.a | ( | self | ) |
the closest points each from its respective segment
Reimplemented in mrmeshpy.TwoLineSegmClosestPoints_float, and mrmeshpy.TwoLineSegmClosestPoints_float.
| ConstVector3f mrmeshpy.ConstTwoLineSegmClosestPoints_float.b | ( | self | ) |
the closest points each from its respective segment
Reimplemented in mrmeshpy.TwoLineSegmClosestPoints_float, and mrmeshpy.TwoLineSegmClosestPoints_float.
| ConstVector3f mrmeshpy.ConstTwoLineSegmClosestPoints_float.dir | ( | self | ) |
if both closest points are in segment endpoints, then directed from closest point a to closest point b, if both closest points are inner to the segments, then its orthogonal to both segments and directed from a to b, otherwise it is orthogonal to the segment with inner closest point and rotated toward/away the other closest point in endpoint
Reimplemented in mrmeshpy.TwoLineSegmClosestPoints_float, and mrmeshpy.TwoLineSegmClosestPoints_float.
|
staticprotected |
|
staticprotected |
|
staticprotected |