MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstTwoLineSegmClosestPoints_float Class Reference
Inheritance diagram for mrmeshpy.ConstTwoLineSegmClosestPoints_float:

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

Detailed Description

Generated from:  MR::TwoLineSegmClosestPoints<float>
Aliases:  TwoLineSegmClosestPointsf

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

◆ a()

ConstVector3f mrmeshpy.ConstTwoLineSegmClosestPoints_float.a ( self)
the closest points each from its respective segment

Reimplemented in mrmeshpy.TwoLineSegmClosestPoints_float, and mrmeshpy.TwoLineSegmClosestPoints_float.

◆ b()

ConstVector3f mrmeshpy.ConstTwoLineSegmClosestPoints_float.b ( self)
the closest points each from its respective segment

Reimplemented in mrmeshpy.TwoLineSegmClosestPoints_float, and mrmeshpy.TwoLineSegmClosestPoints_float.

◆ dir()

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.

Member Data Documentation

◆ _offsetof_a

typing mrmeshpy.ConstTwoLineSegmClosestPoints_float._offsetof_a = 0
staticprotected

◆ _offsetof_b

typing mrmeshpy.ConstTwoLineSegmClosestPoints_float._offsetof_b = 12
staticprotected

◆ _offsetof_dir

typing mrmeshpy.ConstTwoLineSegmClosestPoints_float._offsetof_dir = 24
staticprotected

The documentation for this class was generated from the following file: