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

Public Member Functions

AlphaShapeStats __iadd__ (self, ConstAlphaShapeStats r)
None __init__ (self)
None __init__ (self, ConstAlphaShapeStats arg0)
None __init__ (self, int collectedNeis, int redundancyTests, int redundantNeis, int consideredTris, int touchableTris, int inBallTests, int shadowTests, int exactShadowTests, int shadowedNeis)
AlphaShapeStats assign (self, ConstAlphaShapeStats other)
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)
Public Member Functions inherited from mrmeshpy.ConstAlphaShapeStats
 __init__ (self, *args, **kwargs)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstAlphaShapeStats
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,
ConstAlphaShapeStats 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,
ConstAlphaShapeStats r )

◆ assign()

AlphaShapeStats mrmeshpy.AlphaShapeStats.assign ( self,
ConstAlphaShapeStats other )

◆ collectedNeis() [1/2]

int mrmeshpy.AlphaShapeStats.collectedNeis ( self)
the number of neighbours found within the search radius (except the known twins), 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

Reimplemented from mrmeshpy.ConstAlphaShapeStats.

◆ collectedNeis() [2/2]

None mrmeshpy.AlphaShapeStats.collectedNeis ( self,
int arg1 )
the number of neighbours found within the search radius (except the known twins), 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

Reimplemented from mrmeshpy.ConstAlphaShapeStats.

◆ 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

Reimplemented from mrmeshpy.ConstAlphaShapeStats.

◆ consideredTris() [2/2]

None mrmeshpy.AlphaShapeStats.consideredTris ( self,
int arg1 )
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

Reimplemented from mrmeshpy.ConstAlphaShapeStats.

◆ 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

Reimplemented from mrmeshpy.ConstAlphaShapeStats.

◆ exactShadowTests() [2/2]

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

Reimplemented from mrmeshpy.ConstAlphaShapeStats.

◆ 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

Reimplemented from mrmeshpy.ConstAlphaShapeStats.

◆ inBallTests() [2/2]

None mrmeshpy.AlphaShapeStats.inBallTests ( self,
int arg1 )
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

Reimplemented from mrmeshpy.ConstAlphaShapeStats.

◆ 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

Reimplemented from mrmeshpy.ConstAlphaShapeStats.

◆ redundancyTests() [2/2]

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

Reimplemented from mrmeshpy.ConstAlphaShapeStats.

◆ redundantNeis() [1/2]

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

Reimplemented from mrmeshpy.ConstAlphaShapeStats.

◆ redundantNeis() [2/2]

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

Reimplemented from mrmeshpy.ConstAlphaShapeStats.

◆ shadowedNeis() [1/2]

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

Reimplemented from mrmeshpy.ConstAlphaShapeStats.

◆ shadowedNeis() [2/2]

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

Reimplemented from mrmeshpy.ConstAlphaShapeStats.

◆ shadowTests() [1/2]

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

Reimplemented from mrmeshpy.ConstAlphaShapeStats.

◆ shadowTests() [2/2]

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

Reimplemented from mrmeshpy.ConstAlphaShapeStats.

◆ 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

Reimplemented from mrmeshpy.ConstAlphaShapeStats.

◆ touchableTris() [2/2]

None mrmeshpy.AlphaShapeStats.touchableTris ( self,
int arg1 )
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

Reimplemented from mrmeshpy.ConstAlphaShapeStats.


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