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

Public Member Functions

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

Static Public Member Functions

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

Static Public Attributes

typing eps = 1.1920928955078125e-06
 

Static Protected Attributes

typing _offsetof_a = 0
 

Detailed Description

Generated from:  MR::SegmPointf

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

Constructor & Destructor Documentation

◆ __init__() [1/3]

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

◆ __init__() [2/3]

None mrmeshpy.SegmPointf.__init__ ( self)

◆ __init__() [3/3]

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

Member Function Documentation

◆ __eq__() [1/2]

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

◆ __eq__() [2/2]

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

◆ __float__()

float mrmeshpy.SegmPointf.__float__ ( self)

◆ __repr__()

str mrmeshpy.SegmPointf.__repr__ ( self)

◆ a() [1/2]

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

◆ a() [2/2]

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

◆ convert_to_float()

float mrmeshpy.SegmPointf.convert_to_float ( self)

◆ inVertex()

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

◆ operator() [1/2]

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

◆ operator() [2/2]

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

◆ sym()

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

Member Data Documentation

◆ _offsetof_a

typing mrmeshpy.SegmPointf._offsetof_a = 0
staticprotected

◆ eps

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

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