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

Public Member Functions

AlphaShapeStats __iadd__ (self, AlphaShapeStats r)
None __init__ (self)
None __init__ (self, AlphaShapeStats arg0)
None __init__ (self, int collectedNeis, int redundancyTests, int redundantNeis, int consideredTris, int touchableTris, int inBallTests, int shadowTests, int exactShadowTests, int shadowedNeis)
int collectedNeis (self)
None collectedNeis (self, int arg1)
int consideredTris (self)
None consideredTris (self, int arg1)
int exactShadowTests (self)
None exactShadowTests (self, int arg1)
int inBallTests (self)
None inBallTests (self, int arg1)
int redundancyTests (self)
None redundancyTests (self, int arg1)
int redundantNeis (self)
None redundantNeis (self, int arg1)
int shadowTests (self)
None shadowTests (self, int arg1)
int shadowedNeis (self)
None shadowedNeis (self, int arg1)
int touchableTris (self)
None touchableTris (self, int arg1)

Static Public Member Functions

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

Static Protected Attributes

typing _offsetof_collectedNeis = 0
typing _offsetof_consideredTris = 24
typing _offsetof_exactShadowTests = 56
typing _offsetof_inBallTests = 40
typing _offsetof_redundancyTests = 8
typing _offsetof_redundantNeis = 16
typing _offsetof_shadowTests = 48
typing _offsetof_shadowedNeis = 64
typing _offsetof_touchableTris = 32

Detailed Description

Generated from:  MR::AlphaShapeStats

the amount of work done during the search of alpha-shape triangles;
every function below only increases the counters, never resets them,
so the statistics of several calls can be accumulated in one object

Constructor & Destructor Documentation

◆ __init__() [1/4]

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

◆ __init__() [2/4]

None mrmeshpy.AlphaShapeStats.__init__ ( self)

◆ __init__() [3/4]

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

◆ __init__() [4/4]

None mrmeshpy.AlphaShapeStats.__init__ ( self,
int collectedNeis,
int redundancyTests,
int redundantNeis,
int consideredTris,
int touchableTris,
int inBallTests,
int shadowTests,
int exactShadowTests,
int shadowedNeis )
Implicit aggregate constructor.

Member Function Documentation

◆ __iadd__()

AlphaShapeStats mrmeshpy.AlphaShapeStats.__iadd__ ( self,
AlphaShapeStats r )

◆ collectedNeis() [1/2]

int mrmeshpy.AlphaShapeStats.collectedNeis ( self)
the number of neighbours found within the search radius, before any of the filters below;
the searches around all the points are quadratic in this, so it explains most of the
difference in the time spent per point between one cloud and another

◆ collectedNeis() [2/2]

None mrmeshpy.AlphaShapeStats.collectedNeis ( self,
int arg1 )

◆ consideredTris() [1/2]

int mrmeshpy.AlphaShapeStats.consideredTris ( self)
the number of triangles considered: the triples of close enough points that were checked
for the existence of a ball of the given radius passing via all three of them

◆ consideredTris() [2/2]

None mrmeshpy.AlphaShapeStats.consideredTris ( self,
int arg1 )

◆ exactShadowTests() [1/2]

int mrmeshpy.AlphaShapeStats.exactShadowTests ( self)
the number of shadow tests not decided by the floating-point rejection,
which had to evaluate the exact predicates

◆ exactShadowTests() [2/2]

None mrmeshpy.AlphaShapeStats.exactShadowTests ( self,
int arg1 )

◆ inBallTests() [1/2]

int mrmeshpy.AlphaShapeStats.inBallTests ( self)
the number of point-in-ball tests performed for the balls of touchable triangles;
less than 2 * touchableTris * (points in the neighbourhood) because a ball
is not tested further as soon as the first point inside it is found

◆ inBallTests() [2/2]

None mrmeshpy.AlphaShapeStats.inBallTests ( self,
int arg1 )

◆ operator() [1/2]

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

◆ operator() [2/2]

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

◆ redundancyTests() [1/2]

int mrmeshpy.AlphaShapeStats.redundancyTests ( self)
the number of pairs of neighbours checked for one of them making the other redundant,
which is quadratic in the neighbours of a point

◆ redundancyTests() [2/2]

None mrmeshpy.AlphaShapeStats.redundancyTests ( self,
int arg1 )

◆ redundantNeis() [1/2]

int mrmeshpy.AlphaShapeStats.redundantNeis ( self)
the number of neighbours found redundant by those checks and excluded from the search

◆ redundantNeis() [2/2]

None mrmeshpy.AlphaShapeStats.redundantNeis ( self,
int arg1 )

◆ shadowedNeis() [1/2]

int mrmeshpy.AlphaShapeStats.shadowedNeis ( self)
the number of neighbours found shadowed, which are excluded from the search

◆ shadowedNeis() [2/2]

None mrmeshpy.AlphaShapeStats.shadowedNeis ( self,
int arg1 )

◆ shadowTests() [1/2]

int mrmeshpy.AlphaShapeStats.shadowTests ( self)
the number of neighbours tested for being shadowed by the balls of a touchable triangle

◆ shadowTests() [2/2]

None mrmeshpy.AlphaShapeStats.shadowTests ( self,
int arg1 )

◆ touchableTris() [1/2]

int mrmeshpy.AlphaShapeStats.touchableTris ( self)
the number of considered triangles touchable by the ball of the given radius,
for each of which two balls (one from each side of the triangle) were tested for emptiness

◆ touchableTris() [2/2]

None mrmeshpy.AlphaShapeStats.touchableTris ( self,
int arg1 )

Member Data Documentation

◆ _offsetof_collectedNeis

typing mrmeshpy.AlphaShapeStats._offsetof_collectedNeis = 0
staticprotected

◆ _offsetof_consideredTris

typing mrmeshpy.AlphaShapeStats._offsetof_consideredTris = 24
staticprotected

◆ _offsetof_exactShadowTests

typing mrmeshpy.AlphaShapeStats._offsetof_exactShadowTests = 56
staticprotected

◆ _offsetof_inBallTests

typing mrmeshpy.AlphaShapeStats._offsetof_inBallTests = 40
staticprotected

◆ _offsetof_redundancyTests

typing mrmeshpy.AlphaShapeStats._offsetof_redundancyTests = 8
staticprotected

◆ _offsetof_redundantNeis

typing mrmeshpy.AlphaShapeStats._offsetof_redundantNeis = 16
staticprotected

◆ _offsetof_shadowedNeis

typing mrmeshpy.AlphaShapeStats._offsetof_shadowedNeis = 64
staticprotected

◆ _offsetof_shadowTests

typing mrmeshpy.AlphaShapeStats._offsetof_shadowTests = 48
staticprotected

◆ _offsetof_touchableTris

typing mrmeshpy.AlphaShapeStats._offsetof_touchableTris = 32
staticprotected

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