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

Public Member Functions

bool __eq__ (self, SegmPointf rhs)
 
bool __eq__ (self, float rhs)
 
None __init__ (self)
 
None __init__ (self, float a)
 
None __init__ (self, SegmPointf arg0)
 
int inVertex (self)
 
SegmPointf sym (self)
 
float a (self)
 
None a (self, float arg1)
 

Static Public Attributes

typing eps = 1.1920928955078125e-06
 

Protected Member Functions

float _convert_to_float (self)
 
float _convert_to_float (self)
 

Detailed Description

Generated from:  MR::SegmPointf
Aliases:  SegmPoint_float

\\brief encodes a point inside a line segment using relative distance in [0,1]
\\ingroup MathGroup

Constructor & Destructor Documentation

◆ __init__() [1/3]

None meshlib.mrmeshpy.SegmPointf.__init__ ( self)

◆ __init__() [2/3]

None meshlib.mrmeshpy.SegmPointf.__init__ ( self,
float a )

◆ __init__() [3/3]

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

Member Function Documentation

◆ __eq__() [1/2]

bool meshlib.mrmeshpy.SegmPointf.__eq__ ( self,
float rhs )

◆ __eq__() [2/2]

bool meshlib.mrmeshpy.SegmPointf.__eq__ ( self,
SegmPointf rhs )
returns true if two points have equal (a) representation

◆ _convert_to_float() [1/2]

float meshlib.mrmeshpy.SegmPointf._convert_to_float ( self)
protected

◆ _convert_to_float() [2/2]

float meshlib.mrmeshpy.SegmPointf._convert_to_float ( self)
protected

◆ a() [1/2]

float meshlib.mrmeshpy.SegmPointf.a ( self)
a in [0,1], a=0 => point is in v0, a=1 => point is in v1

◆ a() [2/2]

None meshlib.mrmeshpy.SegmPointf.a ( self,
float arg1 )

◆ inVertex()

int meshlib.mrmeshpy.SegmPointf.inVertex ( self)
returns [0,1] if the point is in a vertex or -1 otherwise

◆ sym()

SegmPointf meshlib.mrmeshpy.SegmPointf.sym ( self)
represents the same point relative to oppositely directed segment

Member Data Documentation

◆ eps

typing meshlib.mrmeshpy.SegmPointf.eps = 1.1920928955078125e-06
static

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