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

Public Member Functions

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

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]

Constructor & Destructor Documentation

◆ __init__()

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

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

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

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

Implicit copy constructor.

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

Member Function Documentation

◆ __eq__() [1/2]

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

◆ __eq__() [2/2]

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

◆ __float__()

float mrmeshpy.ConstSegmPointd.__float__ ( self)

◆ __ne__() [1/2]

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

◆ __ne__() [2/2]

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

◆ __repr__()

str mrmeshpy.ConstSegmPointd.__repr__ ( self)

◆ a()

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

Reimplemented in mrmeshpy.SegmPointd, and mrmeshpy.SegmPointd.

◆ inVertex()

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

◆ sym()

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

Member Data Documentation

◆ _offsetof_a

typing mrmeshpy.ConstSegmPointd._offsetof_a = 0
staticprotected

◆ eps

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

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