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

Public Member Functions

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

Static Public Attributes

typing eps = 2.220446049250313e-15
 

Protected Member Functions

float _convert_to_double (self)
 
float _convert_to_double (self)
 

Detailed Description

Generated from:  MR::SegmPointd
Aliases:  SegmPoint_double

\\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.SegmPointd.__init__ ( self)

◆ __init__() [2/3]

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

◆ __init__() [3/3]

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

Member Function Documentation

◆ __eq__() [1/2]

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

◆ __eq__() [2/2]

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

◆ _convert_to_double() [1/2]

float meshlib.mrmeshpy.SegmPointd._convert_to_double ( self)
protected

◆ _convert_to_double() [2/2]

float meshlib.mrmeshpy.SegmPointd._convert_to_double ( self)
protected

◆ a() [1/2]

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

◆ a() [2/2]

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

◆ inVertex()

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

◆ sym()

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

Member Data Documentation

◆ eps

typing meshlib.mrmeshpy.SegmPointd.eps = 2.220446049250313e-15
static

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