MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.ConstSegmPointf:

Public Member Functions

bool __eq__ (self, ConstSegmPointf rhs)
bool __eq__ (self, float rhs)
float __float__ (self)
 __init__ (self, *args, **kwargs)
bool __ne__ (self, ConstSegmPointf rhs)
bool __ne__ (self, float rhs)
str __repr__ (self)
int inVertex (self)
SegmPointf sym (self)
float a (self)

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]

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstSegmPointf.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstSegmPointf) -> None

2. __init__(self: meshlib.mrmeshpy.ConstSegmPointf, a: float) -> None

3. __init__(self: meshlib.mrmeshpy.ConstSegmPointf, arg0: meshlib.mrmeshpy.ConstSegmPointf) -> None

Implicit copy constructor.

4. __init__(self: meshlib.mrmeshpy.ConstSegmPointf, : meshlib.mrmeshpy.ConstSegmPointf) -> None

Member Function Documentation

◆ __eq__() [1/2]

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

◆ __eq__() [2/2]

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

◆ __float__()

float mrmeshpy.ConstSegmPointf.__float__ ( self)

◆ __ne__() [1/2]

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

◆ __ne__() [2/2]

bool mrmeshpy.ConstSegmPointf.__ne__ ( self,
float rhs )

◆ __repr__()

str mrmeshpy.ConstSegmPointf.__repr__ ( self)

◆ a()

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

Reimplemented in mrmeshpy.SegmPointf, and mrmeshpy.SegmPointf.

◆ inVertex()

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

◆ sym()

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

Member Data Documentation

◆ _offsetof_a

typing mrmeshpy.ConstSegmPointf._offsetof_a = 0
staticprotected

◆ eps

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

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