MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.LineSegm3f Class Reference

Public Member Functions

Vector3f __call__ (self, float param)
 
None __init__ (self)
 
None __init__ (self, Vector3f a, Vector3f b)
 
None __init__ (self, LineSegm3f arg0)
 
Vector3f dir (self)
 
float length (self)
 
float lengthSq (self)
 

Detailed Description

Generated from:  MR::LineSegm3f
Aliases:  LineSegm_Vector3_float, LineSegm_Vector3f

a segment of straight dimensional line

Constructor & Destructor Documentation

◆ __init__() [1/3]

None meshlib.mrmeshpy.LineSegm3f.__init__ ( self)

◆ __init__() [2/3]

None meshlib.mrmeshpy.LineSegm3f.__init__ ( self,
Vector3f a,
Vector3f b )

◆ __init__() [3/3]

None meshlib.mrmeshpy.LineSegm3f.__init__ ( self,
LineSegm3f arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __call__()

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

◆ dir()

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

◆ length()

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

◆ lengthSq()

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

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