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

Public Member Functions

 __init__ (self, *args, **kwargs)
int maxDeletedComponentFaces (self)
float maxNewRank2VertDev (self)
float maxNewRank3VertDev (self)
float maxOldVertPosCorrection (self)
float minNewVertDev (self)
UndirectedEdgeBitSet outSharpEdges (self)
Vector_VoxelId_FaceId outVoxelPerFace (self)
bool voxelClamp (self)
Public Member Functions inherited from mrmeshpy.ConstOffsetParameters
 __init__ (self, *args, **kwargs)
bool closeHolesInHoleWindingNumber (self)
IFastWindingNumber fwn (self)
bool memoryEfficient (self)
SignDetectionMode signDetectionMode (self)
float windingNumberBeta (self)
float windingNumberThreshold (self)
Public Member Functions inherited from mrmeshpy.ConstBaseShellParameters
 __init__ (self, *args, **kwargs)
Const_func_bool_from_float callBack (self)
float voxelSize (self)

Static Protected Attributes

typing _offsetof_maxDeletedComponentFaces = 116
typing _offsetof_maxNewRank2VertDev = 100
typing _offsetof_maxNewRank3VertDev = 104
typing _offsetof_maxOldVertPosCorrection = 108
typing _offsetof_minNewVertDev = 96
typing _offsetof_outSharpEdges = 80
typing _offsetof_outVoxelPerFace = 88
typing _offsetof_voxelClamp = 112
Static Protected Attributes inherited from mrmeshpy.ConstOffsetParameters
typing _offsetof_closeHolesInHoleWindingNumber = 44
typing _offsetof_fwn = 56
typing _offsetof_memoryEfficient = 72
typing _offsetof_signDetectionMode = 40
typing _offsetof_windingNumberBeta = 52
typing _offsetof_windingNumberThreshold = 48
Static Protected Attributes inherited from mrmeshpy.ConstBaseShellParameters
typing _offsetof_callBack = 8
typing _offsetof_voxelSize = 0

Detailed Description

Generated from:  MR::SharpOffsetParameters

Constructor & Destructor Documentation

◆ __init__()

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

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

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

Implicit copy constructor.

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

Member Function Documentation

◆ maxDeletedComponentFaces()

int mrmeshpy.ConstSharpOffsetParameters.maxDeletedComponentFaces ( self)
if positive, then after sharpening every connected component with not more than this number of triangles
intersecting a larger component is deleted; such tiny fragments appear near sharp creases

Reimplemented in mrmeshpy.SharpOffsetParameters, and mrmeshpy.SharpOffsetParameters.

◆ maxNewRank2VertDev()

float mrmeshpy.ConstSharpOffsetParameters.maxNewRank2VertDev ( self)
maximal surface deviation to introduce new rank 2 vertex (on intersection of 2 planes), measured in voxelSize

Reimplemented in mrmeshpy.SharpOffsetParameters, and mrmeshpy.SharpOffsetParameters.

◆ maxNewRank3VertDev()

float mrmeshpy.ConstSharpOffsetParameters.maxNewRank3VertDev ( self)
maximal surface deviation to introduce new rank 3 vertex (on intersection of 3 planes), measured in voxelSize

Reimplemented in mrmeshpy.SharpOffsetParameters, and mrmeshpy.SharpOffsetParameters.

◆ maxOldVertPosCorrection()

float mrmeshpy.ConstSharpOffsetParameters.maxOldVertPosCorrection ( self)
correct positions of the input vertices using reference mesh by not more than this distance, measured in voxelSize;
big correction can be wrong and result from self-intersections in the reference mesh

Reimplemented in mrmeshpy.SharpOffsetParameters, and mrmeshpy.SharpOffsetParameters.

◆ minNewVertDev()

float mrmeshpy.ConstSharpOffsetParameters.minNewVertDev ( self)
minimal surface deviation to introduce new vertex in a voxel, measured in voxelSize

Reimplemented in mrmeshpy.SharpOffsetParameters, and mrmeshpy.SharpOffsetParameters.

◆ outSharpEdges()

UndirectedEdgeBitSet mrmeshpy.ConstSharpOffsetParameters.outSharpEdges ( self)
if non-null then created sharp edges will be saved here

Reimplemented in mrmeshpy.SharpOffsetParameters, and mrmeshpy.SharpOffsetParameters.

◆ outVoxelPerFace()

Vector_VoxelId_FaceId mrmeshpy.ConstSharpOffsetParameters.outVoxelPerFace ( self)
if non-null then for each output mesh face maps its voxel id

Reimplemented in mrmeshpy.SharpOffsetParameters, and mrmeshpy.SharpOffsetParameters.

◆ voxelClamp()

bool mrmeshpy.ConstSharpOffsetParameters.voxelClamp ( self)
if true, the displacement of a new vertex from the average point is shortened to keep the vertex
within its voxel's box (so the geometry of a voxel can never reach another one),
and the in-plane elevation check is skipped

Reimplemented in mrmeshpy.SharpOffsetParameters, and mrmeshpy.SharpOffsetParameters.

Member Data Documentation

◆ _offsetof_maxDeletedComponentFaces

typing mrmeshpy.ConstSharpOffsetParameters._offsetof_maxDeletedComponentFaces = 116
staticprotected

◆ _offsetof_maxNewRank2VertDev

typing mrmeshpy.ConstSharpOffsetParameters._offsetof_maxNewRank2VertDev = 100
staticprotected

◆ _offsetof_maxNewRank3VertDev

typing mrmeshpy.ConstSharpOffsetParameters._offsetof_maxNewRank3VertDev = 104
staticprotected

◆ _offsetof_maxOldVertPosCorrection

typing mrmeshpy.ConstSharpOffsetParameters._offsetof_maxOldVertPosCorrection = 108
staticprotected

◆ _offsetof_minNewVertDev

typing mrmeshpy.ConstSharpOffsetParameters._offsetof_minNewVertDev = 96
staticprotected

◆ _offsetof_outSharpEdges

typing mrmeshpy.ConstSharpOffsetParameters._offsetof_outSharpEdges = 80
staticprotected

◆ _offsetof_outVoxelPerFace

typing mrmeshpy.ConstSharpOffsetParameters._offsetof_outVoxelPerFace = 88
staticprotected

◆ _offsetof_voxelClamp

typing mrmeshpy.ConstSharpOffsetParameters._offsetof_voxelClamp = 112
staticprotected

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