Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| PreciseVertCoords | coords (self, ConstPointCloud cloud, ConstVertId v) |
| bool | knowsTwins (self) |
| ConstVector_Vector3i_VertId | intPoints (self) |
| int | intRadiusSq (self) |
| float | searchRadius (self) |
| ConstConvertToIntVector | toInt (self) |
| ConstVertBitSet | twins (self) |
Static Protected Attributes | |
| typing | _offsetof_intPoints = 32 |
| typing | _offsetof_intRadiusSq = 88 |
| typing | _offsetof_searchRadius = 96 |
| typing | _offsetof_toInt = 0 |
| typing | _offsetof_twins = 56 |
Generated from: MR::AlphaShapeData a point cloud and a ball radius prepared for the search of alpha-shape triangles; the emptiness of a ball is tested in integer coordinates with simulation-of-simplicity resolving the degeneracies, so both the cloud and the radius are needed in integer form as well
| mrmeshpy.ConstAlphaShapeData.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstAlphaShapeData) -> None 2. __init__(self: meshlib.mrmeshpy.ConstAlphaShapeData, arg0: meshlib.mrmeshpy.ConstAlphaShapeData) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstAlphaShapeData, toInt: meshlib.mrmeshpy.ConstConvertToIntVector, intPoints: meshlib.mrmeshpy.ConstVector_Vector3i_VertId, twins: meshlib.mrmeshpy.ConstVertBitSet, intRadiusSq: int, searchRadius: float) -> None Implicit aggregate constructor. 4. __init__(self: meshlib.mrmeshpy.ConstAlphaShapeData, : meshlib.mrmeshpy.ConstAlphaShapeData) -> None
| PreciseVertCoords mrmeshpy.ConstAlphaShapeData.coords | ( | self, | |
| ConstPointCloud | cloud, | ||
| ConstVertId | v ) |
returns point v of the cloud (which must be the cloud given to getAlphaShapeData) together with its integer coordinates
| ConstVector_Vector3i_VertId mrmeshpy.ConstAlphaShapeData.intPoints | ( | self | ) |
integer coordinates of all valid points of the cloud, or empty if they have to be computed on the fly by toInt
Reimplemented in mrmeshpy.AlphaShapeData, and mrmeshpy.AlphaShapeData.
| int mrmeshpy.ConstAlphaShapeData.intRadiusSq | ( | self | ) |
squared ball radius in the units of toInt's integer grid, not larger than the squared original radius (so that no point inside a ball can be farther than searchRadius from the ball's points), and small enough for the predicates not to overflow
Reimplemented in mrmeshpy.AlphaShapeData, and mrmeshpy.AlphaShapeData.
| bool mrmeshpy.ConstAlphaShapeData.knowsTwins | ( | self | ) |
whether the twins are known, i.e. the data was prepared with allPoints=true (for a cloud with valid points)
| float mrmeshpy.ConstAlphaShapeData.searchRadius | ( | self | ) |
the radius of the neighbourhood of a point to consider; a bit larger than the doubled ball radius to compensate the rounding of integer coordinates
Reimplemented in mrmeshpy.AlphaShapeData, and mrmeshpy.AlphaShapeData.
| ConstConvertToIntVector mrmeshpy.ConstAlphaShapeData.toInt | ( | self | ) |
converts cloud's points in integer coordinates
Reimplemented in mrmeshpy.AlphaShapeData, and mrmeshpy.AlphaShapeData.
| ConstVertBitSet mrmeshpy.ConstAlphaShapeData.twins | ( | self | ) |
the valid points sharing their position in the integer grid with a point of a smaller id, which take part in no search: only the smallest id of a position does; filled together with intPoints, so empty if allPoints was false, and empty if there are no such points
Reimplemented in mrmeshpy.AlphaShapeData, and mrmeshpy.AlphaShapeData.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |