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

Public Member Functions

 __init__ (self, *args, **kwargs)
int collectedNeis (self)
int consideredTris (self)
int exactShadowTests (self)
int inBallTests (self)
int redundancyTests (self)
int redundantNeis (self)
int shadowTests (self)
int shadowedNeis (self)
int touchableTris (self)

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__()

mrmeshpy.ConstAlphaShapeStats.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstAlphaShapeStats) -> None

2. __init__(self: meshlib.mrmeshpy.ConstAlphaShapeStats, arg0: meshlib.mrmeshpy.ConstAlphaShapeStats) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstAlphaShapeStats, collectedNeis: int, redundancyTests: int, redundantNeis: int, consideredTris: int, touchableTris: int, inBallTests: int, shadowTests: int, exactShadowTests: int, shadowedNeis: int) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.ConstAlphaShapeStats, : meshlib.mrmeshpy.ConstAlphaShapeStats) -> None

Member Function Documentation

◆ collectedNeis()

int mrmeshpy.ConstAlphaShapeStats.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 in mrmeshpy.AlphaShapeStats, and mrmeshpy.AlphaShapeStats.

◆ consideredTris()

int mrmeshpy.ConstAlphaShapeStats.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 in mrmeshpy.AlphaShapeStats, and mrmeshpy.AlphaShapeStats.

◆ exactShadowTests()

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

Reimplemented in mrmeshpy.AlphaShapeStats, and mrmeshpy.AlphaShapeStats.

◆ inBallTests()

int mrmeshpy.ConstAlphaShapeStats.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 in mrmeshpy.AlphaShapeStats, and mrmeshpy.AlphaShapeStats.

◆ redundancyTests()

int mrmeshpy.ConstAlphaShapeStats.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 in mrmeshpy.AlphaShapeStats, and mrmeshpy.AlphaShapeStats.

◆ redundantNeis()

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

Reimplemented in mrmeshpy.AlphaShapeStats, and mrmeshpy.AlphaShapeStats.

◆ shadowedNeis()

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

Reimplemented in mrmeshpy.AlphaShapeStats, and mrmeshpy.AlphaShapeStats.

◆ shadowTests()

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

Reimplemented in mrmeshpy.AlphaShapeStats, and mrmeshpy.AlphaShapeStats.

◆ touchableTris()

int mrmeshpy.ConstAlphaShapeStats.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 in mrmeshpy.AlphaShapeStats, and mrmeshpy.AlphaShapeStats.

Member Data Documentation

◆ _offsetof_collectedNeis

typing mrmeshpy.ConstAlphaShapeStats._offsetof_collectedNeis = 0
staticprotected

◆ _offsetof_consideredTris

typing mrmeshpy.ConstAlphaShapeStats._offsetof_consideredTris = 24
staticprotected

◆ _offsetof_exactShadowTests

typing mrmeshpy.ConstAlphaShapeStats._offsetof_exactShadowTests = 56
staticprotected

◆ _offsetof_inBallTests

typing mrmeshpy.ConstAlphaShapeStats._offsetof_inBallTests = 40
staticprotected

◆ _offsetof_redundancyTests

typing mrmeshpy.ConstAlphaShapeStats._offsetof_redundancyTests = 8
staticprotected

◆ _offsetof_redundantNeis

typing mrmeshpy.ConstAlphaShapeStats._offsetof_redundantNeis = 16
staticprotected

◆ _offsetof_shadowedNeis

typing mrmeshpy.ConstAlphaShapeStats._offsetof_shadowedNeis = 64
staticprotected

◆ _offsetof_shadowTests

typing mrmeshpy.ConstAlphaShapeStats._offsetof_shadowTests = 48
staticprotected

◆ _offsetof_touchableTris

typing mrmeshpy.ConstAlphaShapeStats._offsetof_touchableTris = 32
staticprotected

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