MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.AlphaShapeStats Class Reference
Inheritance diagram for meshlib.AlphaShapeStats:

Public Member Functions

 AlphaShapeStats (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 AlphaShapeStats ()
 AlphaShapeStats (long collectedNeis, long redundancyTests, long redundantNeis, long consideredTris, long touchableTris, long inBallTests, long shadowTests, long exactShadowTests, long shadowedNeis)
 AlphaShapeStats (meshlib.AlphaShapeStats _other)
meshlib.AlphaShapeStats assignFromAnother (meshlib.AlphaShapeStats _other)
meshlib.AlphaShapeStats add_assign (meshlib.AlphaShapeStats r)
long collectedNeis ()
void setCollectedNeis (long value)
long redundancyTests ()
void setRedundancyTests (long value)
long redundantNeis ()
void setRedundantNeis (long value)
long consideredTris ()
void setConsideredTris (long value)
long touchableTris ()
void setTouchableTris (long value)
long inBallTests ()
void setInBallTests (long value)
long shadowTests ()
void setShadowTests (long value)
long exactShadowTests ()
void setExactShadowTests (long value)
long shadowedNeis ()
void setShadowedNeis (long value)
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppObject
 CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner)

Detailed Description

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 Generated from class MR::AlphaShapeStats.

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ AlphaShapeStats() [1/4]

meshlib.AlphaShapeStats.AlphaShapeStats ( java.lang.foreign.MemorySegment ptr,
boolean owned,
java.lang.Object owner )

Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.

◆ AlphaShapeStats() [2/4]

meshlib.AlphaShapeStats.AlphaShapeStats ( )

Constructs an empty (default-constructed) instance.

Calls MR_AlphaShapeStats_DefaultConstruct().

◆ AlphaShapeStats() [3/4]

meshlib.AlphaShapeStats.AlphaShapeStats ( long collectedNeis,
long redundancyTests,
long redundantNeis,
long consideredTris,
long touchableTris,
long inBallTests,
long shadowTests,
long exactShadowTests,
long shadowedNeis )

Constructs MR::AlphaShapeStats elementwise. The reference to the parameter collectedNeis might be preserved in the constructed object. The reference to the parameter redundancyTests might be preserved in the constructed object. The reference to the parameter redundantNeis might be preserved in the constructed object. The reference to the parameter consideredTris might be preserved in the constructed object. The reference to the parameter touchableTris might be preserved in the constructed object. The reference to the parameter inBallTests might be preserved in the constructed object. The reference to the parameter shadowTests might be preserved in the constructed object. The reference to the parameter exactShadowTests might be preserved in the constructed object. The reference to the parameter shadowedNeis might be preserved in the constructed object.

Calls MR_AlphaShapeStats_ConstructFrom().

◆ AlphaShapeStats() [4/4]

meshlib.AlphaShapeStats.AlphaShapeStats ( meshlib.AlphaShapeStats _other)

Generated from constructor MR::AlphaShapeStats::AlphaShapeStats. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_AlphaShapeStats_ConstructFromAnother().

Member Function Documentation

◆ add_assign()

meshlib.AlphaShapeStats meshlib.AlphaShapeStats.add_assign ( meshlib.AlphaShapeStats r)

Generated from method MR::AlphaShapeStats::operator+=. The reference to this object might be preserved in the return value.

Calls MR_AlphaShapeStats_add_assign().

◆ assignFromAnother()

meshlib.AlphaShapeStats meshlib.AlphaShapeStats.assignFromAnother ( meshlib.AlphaShapeStats _other)

Generated from method MR::AlphaShapeStats::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_AlphaShapeStats_AssignFromAnother().

◆ collectedNeis()

long meshlib.AlphaShapeStats.collectedNeis ( )

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 Returns a pointer to a member variable of class MR::AlphaShapeStats named collectedNeis. The reference to this object might be preserved as the return value.

Calls MR_AlphaShapeStats_Get_collectedNeis().

◆ consideredTris()

long meshlib.AlphaShapeStats.consideredTris ( )

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 Returns a pointer to a member variable of class MR::AlphaShapeStats named consideredTris. The reference to this object might be preserved as the return value.

Calls MR_AlphaShapeStats_Get_consideredTris().

◆ exactShadowTests()

long meshlib.AlphaShapeStats.exactShadowTests ( )

the number of shadow tests not decided by the floating-point rejection, which had to evaluate the exact predicates Returns a pointer to a member variable of class MR::AlphaShapeStats named exactShadowTests. The reference to this object might be preserved as the return value.

Calls MR_AlphaShapeStats_Get_exactShadowTests().

◆ inBallTests()

long meshlib.AlphaShapeStats.inBallTests ( )

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 Returns a pointer to a member variable of class MR::AlphaShapeStats named inBallTests. The reference to this object might be preserved as the return value.

Calls MR_AlphaShapeStats_Get_inBallTests().

◆ redundancyTests()

long meshlib.AlphaShapeStats.redundancyTests ( )

the number of pairs of neighbours checked for one of them making the other redundant, which is quadratic in the neighbours of a point Returns a pointer to a member variable of class MR::AlphaShapeStats named redundancyTests. The reference to this object might be preserved as the return value.

Calls MR_AlphaShapeStats_Get_redundancyTests().

◆ redundantNeis()

long meshlib.AlphaShapeStats.redundantNeis ( )

the number of neighbours found redundant by those checks and excluded from the search Returns a pointer to a member variable of class MR::AlphaShapeStats named redundantNeis. The reference to this object might be preserved as the return value.

Calls MR_AlphaShapeStats_Get_redundantNeis().

◆ setCollectedNeis()

void meshlib.AlphaShapeStats.setCollectedNeis ( long value)

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 Modifies a member variable of class MR::AlphaShapeStats named collectedNeis. The reference to the parameter value might be preserved in this object in element collectedNeis.

Calls MR_AlphaShapeStats_Set_collectedNeis().

◆ setConsideredTris()

void meshlib.AlphaShapeStats.setConsideredTris ( long value)

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 Modifies a member variable of class MR::AlphaShapeStats named consideredTris. The reference to the parameter value might be preserved in this object in element consideredTris.

Calls MR_AlphaShapeStats_Set_consideredTris().

◆ setExactShadowTests()

void meshlib.AlphaShapeStats.setExactShadowTests ( long value)

the number of shadow tests not decided by the floating-point rejection, which had to evaluate the exact predicates Modifies a member variable of class MR::AlphaShapeStats named exactShadowTests. The reference to the parameter value might be preserved in this object in element exactShadowTests.

Calls MR_AlphaShapeStats_Set_exactShadowTests().

◆ setInBallTests()

void meshlib.AlphaShapeStats.setInBallTests ( long value)

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 Modifies a member variable of class MR::AlphaShapeStats named inBallTests. The reference to the parameter value might be preserved in this object in element inBallTests.

Calls MR_AlphaShapeStats_Set_inBallTests().

◆ setRedundancyTests()

void meshlib.AlphaShapeStats.setRedundancyTests ( long value)

the number of pairs of neighbours checked for one of them making the other redundant, which is quadratic in the neighbours of a point Modifies a member variable of class MR::AlphaShapeStats named redundancyTests. The reference to the parameter value might be preserved in this object in element redundancyTests.

Calls MR_AlphaShapeStats_Set_redundancyTests().

◆ setRedundantNeis()

void meshlib.AlphaShapeStats.setRedundantNeis ( long value)

the number of neighbours found redundant by those checks and excluded from the search Modifies a member variable of class MR::AlphaShapeStats named redundantNeis. The reference to the parameter value might be preserved in this object in element redundantNeis.

Calls MR_AlphaShapeStats_Set_redundantNeis().

◆ setShadowedNeis()

void meshlib.AlphaShapeStats.setShadowedNeis ( long value)

the number of neighbours found shadowed, which are excluded from the search Modifies a member variable of class MR::AlphaShapeStats named shadowedNeis. The reference to the parameter value might be preserved in this object in element shadowedNeis.

Calls MR_AlphaShapeStats_Set_shadowedNeis().

◆ setShadowTests()

void meshlib.AlphaShapeStats.setShadowTests ( long value)

the number of neighbours tested for being shadowed by the balls of a touchable triangle Modifies a member variable of class MR::AlphaShapeStats named shadowTests. The reference to the parameter value might be preserved in this object in element shadowTests.

Calls MR_AlphaShapeStats_Set_shadowTests().

◆ setTouchableTris()

void meshlib.AlphaShapeStats.setTouchableTris ( long value)

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 Modifies a member variable of class MR::AlphaShapeStats named touchableTris. The reference to the parameter value might be preserved in this object in element touchableTris.

Calls MR_AlphaShapeStats_Set_touchableTris().

◆ shadowedNeis()

long meshlib.AlphaShapeStats.shadowedNeis ( )

the number of neighbours found shadowed, which are excluded from the search Returns a pointer to a member variable of class MR::AlphaShapeStats named shadowedNeis. The reference to this object might be preserved as the return value.

Calls MR_AlphaShapeStats_Get_shadowedNeis().

◆ shadowTests()

long meshlib.AlphaShapeStats.shadowTests ( )

the number of neighbours tested for being shadowed by the balls of a touchable triangle Returns a pointer to a member variable of class MR::AlphaShapeStats named shadowTests. The reference to this object might be preserved as the return value.

Calls MR_AlphaShapeStats_Get_shadowTests().

◆ touchableTris()

long meshlib.AlphaShapeStats.touchableTris ( )

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 Returns a pointer to a member variable of class MR::AlphaShapeStats named touchableTris. The reference to this object might be preserved as the return value.

Calls MR_AlphaShapeStats_Get_touchableTris().


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