Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| float | maxDistRatio (self) |
| SlicePlane | plane (self) |
| QuarterBit | quatersMask (self) |
| int | start (self) |
| int | stop (self) |
Static Protected Attributes | |
| typing | _offsetof_maxDistRatio = 16 |
| typing | _offsetof_plane = 20 |
| typing | _offsetof_quatersMask = 24 |
| typing | _offsetof_start = 0 |
| typing | _offsetof_stop = 8 |
Generated from: MR::VoxelMetricParameters Parameters for building metric function
| mrmeshpy.ConstVoxelMetricParameters.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstVoxelMetricParameters) -> None 2. __init__(self: meshlib.mrmeshpy.ConstVoxelMetricParameters, arg0: meshlib.mrmeshpy.ConstVoxelMetricParameters) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstVoxelMetricParameters, start: int, stop: int, maxDistRatio: float, plane: meshlib.mrmeshpy.SlicePlane, quatersMask: meshlib.mrmeshpy.QuarterBit) -> None Implicit aggregate constructor. 4. __init__(self: meshlib.mrmeshpy.ConstVoxelMetricParameters, : meshlib.mrmeshpy.ConstVoxelMetricParameters) -> None
| float mrmeshpy.ConstVoxelMetricParameters.maxDistRatio | ( | self | ) |
max distance ratio: if (dist^2(next,start) + dist^2(next,stop) > maxDistRatio^2*dist^2(start,stop)) - candidate is not processed
Reimplemented in mrmeshpy.VoxelMetricParameters, and mrmeshpy.VoxelMetricParameters.
| SlicePlane mrmeshpy.ConstVoxelMetricParameters.plane | ( | self | ) |
if not None - builds path in one slice of voxels (make sure start and stop has same main axis coordinate)
Reimplemented in mrmeshpy.VoxelMetricParameters, and mrmeshpy.VoxelMetricParameters.
| QuarterBit mrmeshpy.ConstVoxelMetricParameters.quatersMask | ( | self | ) |
quarter of building path, if plane is selected, it should be (LeftLeft | LeftRigth) or (RigthLeft | RightRight) or All
Reimplemented in mrmeshpy.VoxelMetricParameters, and mrmeshpy.VoxelMetricParameters.
| int mrmeshpy.ConstVoxelMetricParameters.start | ( | self | ) |
start voxel index
Reimplemented in mrmeshpy.VoxelMetricParameters, and mrmeshpy.VoxelMetricParameters.
| int mrmeshpy.ConstVoxelMetricParameters.stop | ( | self | ) |
stop voxel index
Reimplemented in mrmeshpy.VoxelMetricParameters, and mrmeshpy.VoxelMetricParameters.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |