MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::AlphaShapeStats Struct Reference
Inheritance diagram for meshlib::AlphaShapeStats:

Public Member Functions

auto assign_from_another (_other:&meshlib::AlphaShapeStats) -> &mut meshlib::AlphaShapeStats
auto add_assign (r:&meshlib::AlphaShapeStats) -> &mut meshlib::AlphaShapeStats
auto collected_neis () const -> &usize
auto collected_neis_mut () -> &mut usize
void set_collected_neis (value:usize)
auto redundancy_tests () const -> &usize
auto redundancy_tests_mut () -> &mut usize
void set_redundancy_tests (value:usize)
auto redundant_neis () const -> &usize
auto redundant_neis_mut () -> &mut usize
void set_redundant_neis (value:usize)
auto considered_tris () const -> &usize
auto considered_tris_mut () -> &mut usize
void set_considered_tris (value:usize)
auto touchable_tris () const -> &usize
auto touchable_tris_mut () -> &mut usize
void set_touchable_tris (value:usize)
auto in_ball_tests () const -> &usize
auto in_ball_tests_mut () -> &mut usize
void set_in_ball_tests (value:usize)
auto shadow_tests () const -> &usize
auto shadow_tests_mut () -> &mut usize
void set_shadow_tests (value:usize)
auto exact_shadow_tests () const -> &usize
auto exact_shadow_tests_mut () -> &mut usize
void set_exact_shadow_tests (value:usize)
auto shadowed_neis () const -> &usize
auto shadowed_neis_mut () -> &mut usize
void set_shadowed_neis (value:usize)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::AlphaShapeStats >
static auto construct_from (collectedNeis:usize, redundancyTests:usize, redundantNeis:usize, consideredTris:usize, touchableTris:usize, inBallTests:usize, shadowTests:usize, exactShadowTests:usize, shadowedNeis:usize) -> meshlib::Owned< meshlib::AlphaShapeStats >
static auto construct_from_another (_other:&meshlib::AlphaShapeStats) -> meshlib::Owned< meshlib::AlphaShapeStats >
Static Public Member Functions inherited from meshlib::CppClass
static void destroy (ptr:*mut Self)
Static Public Member Functions inherited from meshlib::CppCopy
static auto copy (ptr:*const Self) -> *mut Self

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.

Generated from class MR::AlphaShapeStats. Heap-allocated instances are held in Owned<AlphaShapeStats>.

Member Function Documentation

◆ add_assign()

auto meshlib::AlphaShapeStats::add_assign ( r:&meshlib::AlphaShapeStats ) -> &mut meshlib::AlphaShapeStats

Generated from method MR::AlphaShapeStats::operator+=.

Calls MR_AlphaShapeStats_add_assign(). The reference to this object might be preserved in the return value.

◆ assign_from_another()

auto meshlib::AlphaShapeStats::assign_from_another ( _other:&meshlib::AlphaShapeStats ) -> &mut meshlib::AlphaShapeStats

Generated from method MR::AlphaShapeStats::operator=.

Calls MR_AlphaShapeStats_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ collected_neis()

auto meshlib::AlphaShapeStats::collected_neis ( ) const -> &usize

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.

Calls MR_AlphaShapeStats_Get_collectedNeis(). The reference to this object might be preserved as the return value.

◆ collected_neis_mut()

auto meshlib::AlphaShapeStats::collected_neis_mut ( ) -> &mut usize

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 mutable pointer to a member variable of class MR::AlphaShapeStats named collectedNeis.

Calls MR_AlphaShapeStats_GetMutable_collectedNeis(). The reference to this object might be preserved as the return value.

◆ considered_tris()

auto meshlib::AlphaShapeStats::considered_tris ( ) const -> &usize

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.

Calls MR_AlphaShapeStats_Get_consideredTris(). The reference to this object might be preserved as the return value.

◆ considered_tris_mut()

auto meshlib::AlphaShapeStats::considered_tris_mut ( ) -> &mut usize

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 mutable pointer to a member variable of class MR::AlphaShapeStats named consideredTris.

Calls MR_AlphaShapeStats_GetMutable_consideredTris(). The reference to this object might be preserved as the return value.

◆ construct_from()

auto meshlib::AlphaShapeStats::construct_from ( collectedNeis:usize ,
redundancyTests:usize ,
redundantNeis:usize ,
consideredTris:usize ,
touchableTris:usize ,
inBallTests:usize ,
shadowTests:usize ,
exactShadowTests:usize ,
shadowedNeis:usize  ) -> meshlib::Owned< meshlib::AlphaShapeStats >
static

Constructs MR::AlphaShapeStats elementwise.

Calls MR_AlphaShapeStats_ConstructFrom(). 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.

◆ construct_from_another()

auto meshlib::AlphaShapeStats::construct_from_another ( _other:&meshlib::AlphaShapeStats ) -> meshlib::Owned< meshlib::AlphaShapeStats >
static

Generated from constructor MR::AlphaShapeStats::AlphaShapeStats.

Calls MR_AlphaShapeStats_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ exact_shadow_tests()

auto meshlib::AlphaShapeStats::exact_shadow_tests ( ) const -> &usize

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.

Calls MR_AlphaShapeStats_Get_exactShadowTests(). The reference to this object might be preserved as the return value.

◆ exact_shadow_tests_mut()

auto meshlib::AlphaShapeStats::exact_shadow_tests_mut ( ) -> &mut usize

the number of shadow tests not decided by the floating-point rejection, which had to evaluate the exact predicates Returns a mutable pointer to a member variable of class MR::AlphaShapeStats named exactShadowTests.

Calls MR_AlphaShapeStats_GetMutable_exactShadowTests(). The reference to this object might be preserved as the return value.

◆ in_ball_tests()

auto meshlib::AlphaShapeStats::in_ball_tests ( ) const -> &usize

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.

Calls MR_AlphaShapeStats_Get_inBallTests(). The reference to this object might be preserved as the return value.

◆ in_ball_tests_mut()

auto meshlib::AlphaShapeStats::in_ball_tests_mut ( ) -> &mut usize

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 mutable pointer to a member variable of class MR::AlphaShapeStats named inBallTests.

Calls MR_AlphaShapeStats_GetMutable_inBallTests(). The reference to this object might be preserved as the return value.

◆ new()

auto meshlib::AlphaShapeStats::new ( ) -> meshlib::Owned< meshlib::AlphaShapeStats >
static

Constructs an empty (default-constructed) instance.

Calls MR_AlphaShapeStats_DefaultConstruct().

◆ redundancy_tests()

auto meshlib::AlphaShapeStats::redundancy_tests ( ) const -> &usize

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.

Calls MR_AlphaShapeStats_Get_redundancyTests(). The reference to this object might be preserved as the return value.

◆ redundancy_tests_mut()

auto meshlib::AlphaShapeStats::redundancy_tests_mut ( ) -> &mut usize

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 mutable pointer to a member variable of class MR::AlphaShapeStats named redundancyTests.

Calls MR_AlphaShapeStats_GetMutable_redundancyTests(). The reference to this object might be preserved as the return value.

◆ redundant_neis()

auto meshlib::AlphaShapeStats::redundant_neis ( ) const -> &usize

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.

Calls MR_AlphaShapeStats_Get_redundantNeis(). The reference to this object might be preserved as the return value.

◆ redundant_neis_mut()

auto meshlib::AlphaShapeStats::redundant_neis_mut ( ) -> &mut usize

the number of neighbours found redundant by those checks and excluded from the search Returns a mutable pointer to a member variable of class MR::AlphaShapeStats named redundantNeis.

Calls MR_AlphaShapeStats_GetMutable_redundantNeis(). The reference to this object might be preserved as the return value.

◆ set_collected_neis()

void meshlib::AlphaShapeStats::set_collected_neis ( value:usize )

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.

Calls MR_AlphaShapeStats_Set_collectedNeis(). The reference to the parameter value might be preserved in this object in element collectedNeis.

◆ set_considered_tris()

void meshlib::AlphaShapeStats::set_considered_tris ( value:usize )

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.

Calls MR_AlphaShapeStats_Set_consideredTris(). The reference to the parameter value might be preserved in this object in element consideredTris.

◆ set_exact_shadow_tests()

void meshlib::AlphaShapeStats::set_exact_shadow_tests ( value:usize )

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.

Calls MR_AlphaShapeStats_Set_exactShadowTests(). The reference to the parameter value might be preserved in this object in element exactShadowTests.

◆ set_in_ball_tests()

void meshlib::AlphaShapeStats::set_in_ball_tests ( value:usize )

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.

Calls MR_AlphaShapeStats_Set_inBallTests(). The reference to the parameter value might be preserved in this object in element inBallTests.

◆ set_redundancy_tests()

void meshlib::AlphaShapeStats::set_redundancy_tests ( value:usize )

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.

Calls MR_AlphaShapeStats_Set_redundancyTests(). The reference to the parameter value might be preserved in this object in element redundancyTests.

◆ set_redundant_neis()

void meshlib::AlphaShapeStats::set_redundant_neis ( value:usize )

the number of neighbours found redundant by those checks and excluded from the search Modifies a member variable of class MR::AlphaShapeStats named redundantNeis.

Calls MR_AlphaShapeStats_Set_redundantNeis(). The reference to the parameter value might be preserved in this object in element redundantNeis.

◆ set_shadow_tests()

void meshlib::AlphaShapeStats::set_shadow_tests ( value:usize )

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.

Calls MR_AlphaShapeStats_Set_shadowTests(). The reference to the parameter value might be preserved in this object in element shadowTests.

◆ set_shadowed_neis()

void meshlib::AlphaShapeStats::set_shadowed_neis ( value:usize )

the number of neighbours found shadowed, which are excluded from the search Modifies a member variable of class MR::AlphaShapeStats named shadowedNeis.

Calls MR_AlphaShapeStats_Set_shadowedNeis(). The reference to the parameter value might be preserved in this object in element shadowedNeis.

◆ set_touchable_tris()

void meshlib::AlphaShapeStats::set_touchable_tris ( value:usize )

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.

Calls MR_AlphaShapeStats_Set_touchableTris(). The reference to the parameter value might be preserved in this object in element touchableTris.

◆ shadow_tests()

auto meshlib::AlphaShapeStats::shadow_tests ( ) const -> &usize

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.

Calls MR_AlphaShapeStats_Get_shadowTests(). The reference to this object might be preserved as the return value.

◆ shadow_tests_mut()

auto meshlib::AlphaShapeStats::shadow_tests_mut ( ) -> &mut usize

the number of neighbours tested for being shadowed by the balls of a touchable triangle Returns a mutable pointer to a member variable of class MR::AlphaShapeStats named shadowTests.

Calls MR_AlphaShapeStats_GetMutable_shadowTests(). The reference to this object might be preserved as the return value.

◆ shadowed_neis()

auto meshlib::AlphaShapeStats::shadowed_neis ( ) const -> &usize

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.

Calls MR_AlphaShapeStats_Get_shadowedNeis(). The reference to this object might be preserved as the return value.

◆ shadowed_neis_mut()

auto meshlib::AlphaShapeStats::shadowed_neis_mut ( ) -> &mut usize

the number of neighbours found shadowed, which are excluded from the search Returns a mutable pointer to a member variable of class MR::AlphaShapeStats named shadowedNeis.

Calls MR_AlphaShapeStats_GetMutable_shadowedNeis(). The reference to this object might be preserved as the return value.

◆ touchable_tris()

auto meshlib::AlphaShapeStats::touchable_tris ( ) const -> &usize

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.

Calls MR_AlphaShapeStats_Get_touchableTris(). The reference to this object might be preserved as the return value.

◆ touchable_tris_mut()

auto meshlib::AlphaShapeStats::touchable_tris_mut ( ) -> &mut usize

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 mutable pointer to a member variable of class MR::AlphaShapeStats named touchableTris.

Calls MR_AlphaShapeStats_GetMutable_touchableTris(). The reference to this object might be preserved as the return value.


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