MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.LineSegm2f Class Reference

Public Member Functions

Vector2f __call__ (self, float param)
 
None __init__ (self)
 
None __init__ (self, Vector2f a, Vector2f b)
 
None __init__ (self, LineSegm2f arg0)
 
Vector2f dir (self)
 
float length (self)
 
float lengthSq (self)
 

Static Protected Member Functions

 _pybind11_conduit_v1_ (*args, **kwargs)
 

Detailed Description

Generated from:  MR::LineSegm2f

a segment of straight dimensional line

Constructor & Destructor Documentation

◆ __init__() [1/3]

None mrmeshpy.LineSegm2f.__init__ ( self)

◆ __init__() [2/3]

None mrmeshpy.LineSegm2f.__init__ ( self,
Vector2f a,
Vector2f b )

◆ __init__() [3/3]

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

Member Function Documentation

◆ __call__()

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

◆ _pybind11_conduit_v1_()

mrmeshpy.LineSegm2f._pybind11_conduit_v1_ ( * args,
** kwargs )
staticprotected

◆ dir()

Vector2f mrmeshpy.LineSegm2f.dir ( self)
returns directional vector of the line

◆ length()

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

◆ lengthSq()

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

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