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

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

Detailed Description

Generated from:  MR::LineSegm3f

a segment of straight dimensional line

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

◆ __call__()

Vector3f mrmeshpy.ConstLineSegm3f.__call__ ( self,
float param )
returns point on the line, where param=0 returns a and param=1 returns b

◆ a()

ConstVector3f mrmeshpy.ConstLineSegm3f.a ( self)

Reimplemented in mrmeshpy.LineSegm3f, and mrmeshpy.LineSegm3f.

◆ b()

ConstVector3f mrmeshpy.ConstLineSegm3f.b ( self)

Reimplemented in mrmeshpy.LineSegm3f, and mrmeshpy.LineSegm3f.

◆ dir()

Vector3f mrmeshpy.ConstLineSegm3f.dir ( self)
returns directional vector of the line

◆ length()

float mrmeshpy.ConstLineSegm3f.length ( self)
returns the length of this line segment

◆ lengthSq()

float mrmeshpy.ConstLineSegm3f.lengthSq ( self)
returns squared length of this line segment

Member Data Documentation

◆ _offsetof_a

typing mrmeshpy.ConstLineSegm3f._offsetof_a = 0
staticprotected

◆ _offsetof_b

typing mrmeshpy.ConstLineSegm3f._offsetof_b = 12
staticprotected

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