MeshLib Python Docs
Loading...
Searching...
No Matches

Public Member Functions

None __init__ (self)
None __init__ (self, AlphaShapeData arg0)
None __init__ (self, ConvertToIntVector toInt, Vector_Vector3i_VertId intPoints, int intRadiusSq, float searchRadius)
PreciseVertCoords coords (self, PointCloud cloud, VertId v)
Vector_Vector3i_VertId intPoints (self)
None intPoints (self, Vector_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, ConvertToIntVector arg1)

Static Public Member Functions

None __init__ (*args, **kwargs)
AlphaShapeData operator (*args, **kwargs)
AlphaShapeData operator (*args, **kwargs)

Static Protected Attributes

typing _offsetof_intPoints = 32
typing _offsetof_intRadiusSq = 56
typing _offsetof_searchRadius = 64
typing _offsetof_toInt = 0

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,
AlphaShapeData arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.AlphaShapeData.__init__ ( self,
ConvertToIntVector toInt,
Vector_Vector3i_VertId intPoints,
int intRadiusSq,
float searchRadius )
Implicit aggregate constructor.

Member Function Documentation

◆ coords()

PreciseVertCoords mrmeshpy.AlphaShapeData.coords ( self,
PointCloud cloud,
VertId v )
returns point #v of the cloud (which must be the cloud given to getAlphaShapeData)
together with its integer coordinates

◆ 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

◆ intPoints() [2/2]

None mrmeshpy.AlphaShapeData.intPoints ( self,
Vector_Vector3i_VertId arg1 )

◆ 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

◆ intRadiusSq() [2/2]

None mrmeshpy.AlphaShapeData.intRadiusSq ( self,
int arg1 )

◆ operator() [1/2]

AlphaShapeData mrmeshpy.AlphaShapeData.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

AlphaShapeData mrmeshpy.AlphaShapeData.operator ( * args,
** kwargs )
static

◆ 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

◆ searchRadius() [2/2]

None mrmeshpy.AlphaShapeData.searchRadius ( self,
float arg1 )

◆ toInt() [1/2]

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

◆ toInt() [2/2]

None mrmeshpy.AlphaShapeData.toInt ( self,
ConvertToIntVector arg1 )

Member Data Documentation

◆ _offsetof_intPoints

typing mrmeshpy.AlphaShapeData._offsetof_intPoints = 32
staticprotected

◆ _offsetof_intRadiusSq

typing mrmeshpy.AlphaShapeData._offsetof_intRadiusSq = 56
staticprotected

◆ _offsetof_searchRadius

typing mrmeshpy.AlphaShapeData._offsetof_searchRadius = 64
staticprotected

◆ _offsetof_toInt

typing mrmeshpy.AlphaShapeData._offsetof_toInt = 0
staticprotected

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