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

Public Member Functions

bool __eq__ (self, SegmPointd rhs)
 
bool __eq__ (self, float rhs)
 
float __float__ (self)
 
None __init__ (self)
 
None __init__ (self, float a)
 
str __repr__ (self)
 
float convert_to_double (self)
 
int inVertex (self)
 
SegmPointd sym (self)
 
float a (self)
 
None a (self, float arg1)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
SegmPointd operator (*args, **kwargs)
 
SegmPointd operator (*args, **kwargs)
 

Static Public Attributes

typing eps = 2.220446049250313e-15
 

Static Protected Attributes

typing _offsetof_a = 0
 

Detailed Description

Generated from:  MR::SegmPointd

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

Constructor & Destructor Documentation

◆ __init__() [1/3]

None mrmeshpy.SegmPointd.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/3]

None mrmeshpy.SegmPointd.__init__ ( self)

◆ __init__() [3/3]

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

Member Function Documentation

◆ __eq__() [1/2]

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

◆ __eq__() [2/2]

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

◆ __float__()

float mrmeshpy.SegmPointd.__float__ ( self)

◆ __repr__()

str mrmeshpy.SegmPointd.__repr__ ( self)

◆ a() [1/2]

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

◆ a() [2/2]

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

◆ convert_to_double()

float mrmeshpy.SegmPointd.convert_to_double ( self)

◆ inVertex()

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

◆ operator() [1/2]

SegmPointd mrmeshpy.SegmPointd.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

SegmPointd mrmeshpy.SegmPointd.operator ( * args,
** kwargs )
static

◆ sym()

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

Member Data Documentation

◆ _offsetof_a

typing mrmeshpy.SegmPointd._offsetof_a = 0
staticprotected

◆ eps

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

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