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

Public Member Functions

 __init__ (self, *args, **kwargs)
ConstVector3d a (self)
ConstVector3d b (self)
ConstVector3d dir (self)

Static Protected Attributes

typing _offsetof_a = 0
typing _offsetof_b = 24
typing _offsetof_dir = 48

Detailed Description

Generated from:  MR::TwoLineSegmClosestPoints<double>
Aliases:  TwoLineSegmClosestPointsd

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstTwoLineSegmClosestPoints_double.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstTwoLineSegmClosestPoints_double) -> None

2. __init__(self: meshlib.mrmeshpy.ConstTwoLineSegmClosestPoints_double, arg0: meshlib.mrmeshpy.ConstTwoLineSegmClosestPoints_double) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstTwoLineSegmClosestPoints_double, a: meshlib.mrmeshpy.ConstVector3d, b: meshlib.mrmeshpy.ConstVector3d, dir: meshlib.mrmeshpy.ConstVector3d) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.ConstTwoLineSegmClosestPoints_double, : meshlib.mrmeshpy.ConstTwoLineSegmClosestPoints_double) -> None

Member Function Documentation

◆ a()

ConstVector3d mrmeshpy.ConstTwoLineSegmClosestPoints_double.a ( self)
the closest points each from its respective segment

Reimplemented in mrmeshpy.TwoLineSegmClosestPoints_double, and mrmeshpy.TwoLineSegmClosestPoints_double.

◆ b()

ConstVector3d mrmeshpy.ConstTwoLineSegmClosestPoints_double.b ( self)
the closest points each from its respective segment

Reimplemented in mrmeshpy.TwoLineSegmClosestPoints_double, and mrmeshpy.TwoLineSegmClosestPoints_double.

◆ dir()

ConstVector3d mrmeshpy.ConstTwoLineSegmClosestPoints_double.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_double, and mrmeshpy.TwoLineSegmClosestPoints_double.

Member Data Documentation

◆ _offsetof_a

typing mrmeshpy.ConstTwoLineSegmClosestPoints_double._offsetof_a = 0
staticprotected

◆ _offsetof_b

typing mrmeshpy.ConstTwoLineSegmClosestPoints_double._offsetof_b = 24
staticprotected

◆ _offsetof_dir

typing mrmeshpy.ConstTwoLineSegmClosestPoints_double._offsetof_dir = 48
staticprotected

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