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

Public Member Functions

None __init__ (self)
None __init__ (self, ConstAlphaShapeData arg0)
None __init__ (self, ConstConvertToIntVector toInt, ConstVector_Vector3i_VertId intPoints, ConstVertBitSet twins, int intRadiusSq, float searchRadius)
AlphaShapeData assign (self, ConstAlphaShapeData other)
Vector_Vector3i_VertId intPoints (self)
None intPoints (self, ConstVector_Vector3i_VertId arg1)
int intRadiusSq (self)
None intRadiusSq (self, int arg1)
float searchRadius (self)
None searchRadius (self, float arg1)
ConvertToIntVector toInt (self)
None toInt (self, ConstConvertToIntVector arg1)
VertBitSet twins (self)
None twins (self, ConstVertBitSet arg1)
Public Member Functions inherited from mrmeshpy.ConstAlphaShapeData
 __init__ (self, *args, **kwargs)
PreciseVertCoords coords (self, ConstPointCloud cloud, ConstVertId v)
bool knowsTwins (self)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstAlphaShapeData
typing _offsetof_intPoints = 32
typing _offsetof_intRadiusSq = 88
typing _offsetof_searchRadius = 96
typing _offsetof_toInt = 0
typing _offsetof_twins = 56

Detailed Description

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

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.AlphaShapeData.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.AlphaShapeData.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.AlphaShapeData.__init__ ( self,
ConstAlphaShapeData arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.AlphaShapeData.__init__ ( self,
ConstConvertToIntVector toInt,
ConstVector_Vector3i_VertId intPoints,
ConstVertBitSet twins,
int intRadiusSq,
float searchRadius )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

AlphaShapeData mrmeshpy.AlphaShapeData.assign ( self,
ConstAlphaShapeData other )

◆ intPoints() [1/2]

Vector_Vector3i_VertId mrmeshpy.AlphaShapeData.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 from mrmeshpy.ConstAlphaShapeData.

◆ intPoints() [2/2]

None mrmeshpy.AlphaShapeData.intPoints ( self,
ConstVector_Vector3i_VertId arg1 )
integer coordinates of all valid points of the cloud,
or empty if they have to be computed on the fly by toInt

Reimplemented from mrmeshpy.ConstAlphaShapeData.

◆ intRadiusSq() [1/2]

int mrmeshpy.AlphaShapeData.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 from mrmeshpy.ConstAlphaShapeData.

◆ intRadiusSq() [2/2]

None mrmeshpy.AlphaShapeData.intRadiusSq ( self,
int arg1 )
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 from mrmeshpy.ConstAlphaShapeData.

◆ searchRadius() [1/2]

float mrmeshpy.AlphaShapeData.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 from mrmeshpy.ConstAlphaShapeData.

◆ searchRadius() [2/2]

None mrmeshpy.AlphaShapeData.searchRadius ( self,
float arg1 )
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 from mrmeshpy.ConstAlphaShapeData.

◆ toInt() [1/2]

ConvertToIntVector mrmeshpy.AlphaShapeData.toInt ( self)
converts cloud's points in integer coordinates

Reimplemented from mrmeshpy.ConstAlphaShapeData.

◆ toInt() [2/2]

None mrmeshpy.AlphaShapeData.toInt ( self,
ConstConvertToIntVector arg1 )
converts cloud's points in integer coordinates

Reimplemented from mrmeshpy.ConstAlphaShapeData.

◆ twins() [1/2]

VertBitSet mrmeshpy.AlphaShapeData.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 from mrmeshpy.ConstAlphaShapeData.

◆ twins() [2/2]

None mrmeshpy.AlphaShapeData.twins ( self,
ConstVertBitSet arg1 )
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 from mrmeshpy.ConstAlphaShapeData.


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