MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstOffsetContoursOrigins Class Reference
Inheritance diagram for mrmeshpy.ConstOffsetContoursOrigins:

Public Member Functions

 __init__ (self, *args, **kwargs)
bool isIntersection (self)
bool valid (self)
ConstOffsetContourIndex lDest (self)
ConstOffsetContourIndex lOrg (self)
float lRatio (self)
ConstOffsetContourIndex uDest (self)
ConstOffsetContourIndex uOrg (self)
float uRatio (self)

Static Protected Attributes

typing _offsetof_lDest = 8
typing _offsetof_lOrg = 0
typing _offsetof_lRatio = 32
typing _offsetof_uDest = 24
typing _offsetof_uOrg = 16
typing _offsetof_uRatio = 36

Detailed Description

Generated from:  MR::OffsetContoursOrigins

Constructor & Destructor Documentation

◆ __init__()

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

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

2. __init__(self: meshlib.mrmeshpy.ConstOffsetContoursOrigins, arg0: meshlib.mrmeshpy.ConstOffsetContoursOrigins) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstOffsetContoursOrigins, lOrg: meshlib.mrmeshpy.ConstOffsetContourIndex, lDest: meshlib.mrmeshpy.ConstOffsetContourIndex, uOrg: meshlib.mrmeshpy.ConstOffsetContourIndex, uDest: meshlib.mrmeshpy.ConstOffsetContourIndex, lRatio: float, uRatio: float) -> None

Implicit aggregate constructor.

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

Member Function Documentation

◆ isIntersection()

bool mrmeshpy.ConstOffsetContoursOrigins.isIntersection ( self)

◆ lDest()

ConstOffsetContourIndex mrmeshpy.ConstOffsetContoursOrigins.lDest ( self)
index of lower corresponding destination point on input contour

Reimplemented in mrmeshpy.OffsetContoursOrigins, and mrmeshpy.OffsetContoursOrigins.

◆ lOrg()

ConstOffsetContourIndex mrmeshpy.ConstOffsetContoursOrigins.lOrg ( self)
Should be always valid
index of lower corresponding origin point on input contour

Reimplemented in mrmeshpy.OffsetContoursOrigins, and mrmeshpy.OffsetContoursOrigins.

◆ lRatio()

float mrmeshpy.ConstOffsetContoursOrigins.lRatio ( self)
ratio of intersection point on lOrg->lDest segment
0.0 -> lOrg
1.0 -> lDest

Reimplemented in mrmeshpy.OffsetContoursOrigins, and mrmeshpy.OffsetContoursOrigins.

◆ uDest()

ConstOffsetContourIndex mrmeshpy.ConstOffsetContoursOrigins.uDest ( self)
index of upper corresponding destination point on input contour

Reimplemented in mrmeshpy.OffsetContoursOrigins, and mrmeshpy.OffsetContoursOrigins.

◆ uOrg()

ConstOffsetContourIndex mrmeshpy.ConstOffsetContoursOrigins.uOrg ( self)
index of upper corresponding origin point on input contour

Reimplemented in mrmeshpy.OffsetContoursOrigins, and mrmeshpy.OffsetContoursOrigins.

◆ uRatio()

float mrmeshpy.ConstOffsetContoursOrigins.uRatio ( self)
ratio of intersection point on uOrg->uDest segment
0.0 -> uOrg
1.0 -> uDest

Reimplemented in mrmeshpy.OffsetContoursOrigins, and mrmeshpy.OffsetContoursOrigins.

◆ valid()

bool mrmeshpy.ConstOffsetContoursOrigins.valid ( self)

Member Data Documentation

◆ _offsetof_lDest

typing mrmeshpy.ConstOffsetContoursOrigins._offsetof_lDest = 8
staticprotected

◆ _offsetof_lOrg

typing mrmeshpy.ConstOffsetContoursOrigins._offsetof_lOrg = 0
staticprotected

◆ _offsetof_lRatio

typing mrmeshpy.ConstOffsetContoursOrigins._offsetof_lRatio = 32
staticprotected

◆ _offsetof_uDest

typing mrmeshpy.ConstOffsetContoursOrigins._offsetof_uDest = 24
staticprotected

◆ _offsetof_uOrg

typing mrmeshpy.ConstOffsetContoursOrigins._offsetof_uOrg = 16
staticprotected

◆ _offsetof_uRatio

typing mrmeshpy.ConstOffsetContoursOrigins._offsetof_uRatio = 36
staticprotected

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