Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::AlphaShapeData) -> &mut meshlib::AlphaShapeData |
| auto | knows_twins () const -> bool |
| auto | coords (cloud:&meshlib::PointCloud, v:meshlib::VertId) const -> meshlib::Owned< meshlib::PreciseVertCoords > |
| auto | to_int () const -> &meshlib::ConvertToIntVector |
| auto | to_int_mut () -> &mut meshlib::ConvertToIntVector |
| void | set_to_int (value:&meshlib::ConvertToIntVector) |
| auto | int_points () const -> &meshlib::Vector_MR_Vector3i_MR_VertId |
| auto | int_points_mut () -> &mut meshlib::Vector_MR_Vector3i_MR_VertId |
| void | set_int_points (value:&meshlib::Vector_MR_Vector3i_MR_VertId) |
| auto | twins () const -> &meshlib::VertBitSet |
| auto | twins_mut () -> &mut meshlib::VertBitSet |
| void | set_twins (value:&meshlib::VertBitSet) |
| auto | int_radius_sq () const -> &i64 |
| auto | int_radius_sq_mut () -> &mut i64 |
| void | set_int_radius_sq (value:i64) |
| auto | search_radius () const -> &f32 |
| auto | search_radius_mut () -> &mut f32 |
| void | set_search_radius (value:f32) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::AlphaShapeData > |
| static auto | construct_from (toInt:&meshlib::ConvertToIntVector, intPoints:&meshlib::Vector_MR_Vector3i_MR_VertId, twins:&meshlib::VertBitSet, intRadiusSq:i64, searchRadius:f32) -> meshlib::Owned< meshlib::AlphaShapeData > |
| static auto | construct_from_another (_other:&meshlib::AlphaShapeData) -> meshlib::Owned< meshlib::AlphaShapeData > |
| 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 |
a point cloud and a ball radius prepared for the search of alpha-shape triangles; the emptiness of a ball is tested in integer coordinates with simulation-of-simplicity resolving the degeneracies, so both the cloud and the radius are needed in integer form as well Generated from class MR::AlphaShapeData.
Generated from class MR::AlphaShapeData. Heap-allocated instances are held in Owned<AlphaShapeData>.
| auto meshlib::AlphaShapeData::assign_from_another | ( | _other:&meshlib::AlphaShapeData | ) | -> &mut meshlib::AlphaShapeData |
Generated from method MR::AlphaShapeData::operator=.
Calls MR_AlphaShapeData_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::AlphaShapeData elementwise.
Calls MR_AlphaShapeData_ConstructFrom(). The reference to the parameter toInt might be preserved in the constructed object. The reference to the parameter intPoints might be preserved in the constructed object. The reference to the parameter twins might be preserved in the constructed object. The reference to the parameter intRadiusSq might be preserved in the constructed object.
|
static |
Generated from constructor MR::AlphaShapeData::AlphaShapeData.
Calls MR_AlphaShapeData_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::AlphaShapeData::coords | ( | cloud:&meshlib::PointCloud | , |
| v:meshlib::VertId | ) const -> meshlib::Owned< meshlib::PreciseVertCoords > |
returns point v of the cloud (which must be the cloud given to getAlphaShapeData) together with its integer coordinates Generated from method MR::AlphaShapeData::coords.
Calls MR_AlphaShapeData_coords().
| auto meshlib::AlphaShapeData::int_points | ( | ) | const -> &meshlib::Vector_MR_Vector3i_MR_VertId |
integer coordinates of all valid points of the cloud, or empty if they have to be computed on the fly by toInt Returns a pointer to a member variable of class MR::AlphaShapeData named intPoints.
Calls MR_AlphaShapeData_Get_intPoints(). The reference to this object might be preserved as the return value.
| auto meshlib::AlphaShapeData::int_points_mut | ( | ) | -> &mut meshlib::Vector_MR_Vector3i_MR_VertId |
integer coordinates of all valid points of the cloud, or empty if they have to be computed on the fly by toInt Returns a mutable pointer to a member variable of class MR::AlphaShapeData named intPoints.
Calls MR_AlphaShapeData_GetMutable_intPoints(). The reference to this object might be preserved as the return value.
| auto meshlib::AlphaShapeData::int_radius_sq | ( | ) | const -> &i64 |
squared ball radius in the units of toInt's integer grid, not larger than the squared original radius (so that no point inside a ball can be farther than searchRadius from the ball's points), and small enough for the predicates not to overflow Returns a pointer to a member variable of class MR::AlphaShapeData named intRadiusSq.
Calls MR_AlphaShapeData_Get_intRadiusSq(). The reference to this object might be preserved as the return value.
| auto meshlib::AlphaShapeData::int_radius_sq_mut | ( | ) | -> &mut i64 |
squared ball radius in the units of toInt's integer grid, not larger than the squared original radius (so that no point inside a ball can be farther than searchRadius from the ball's points), and small enough for the predicates not to overflow Returns a mutable pointer to a member variable of class MR::AlphaShapeData named intRadiusSq.
Calls MR_AlphaShapeData_GetMutable_intRadiusSq(). The reference to this object might be preserved as the return value.
| auto meshlib::AlphaShapeData::knows_twins | ( | ) | const -> bool |
whether the twins are known, i.e. the data was prepared with allPoints=true (for a cloud with valid points) Generated from method MR::AlphaShapeData::knowsTwins.
Calls MR_AlphaShapeData_knowsTwins().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_AlphaShapeData_DefaultConstruct().
| auto meshlib::AlphaShapeData::search_radius | ( | ) | const -> &f32 |
the radius of the neighbourhood of a point to consider; a bit larger than the doubled ball radius to compensate the rounding of integer coordinates Returns a pointer to a member variable of class MR::AlphaShapeData named searchRadius.
Calls MR_AlphaShapeData_Get_searchRadius(). The reference to this object might be preserved as the return value.
| auto meshlib::AlphaShapeData::search_radius_mut | ( | ) | -> &mut f32 |
the radius of the neighbourhood of a point to consider; a bit larger than the doubled ball radius to compensate the rounding of integer coordinates Returns a mutable pointer to a member variable of class MR::AlphaShapeData named searchRadius.
Calls MR_AlphaShapeData_GetMutable_searchRadius(). The reference to this object might be preserved as the return value.
| void meshlib::AlphaShapeData::set_int_points | ( | value:&meshlib::Vector_MR_Vector3i_MR_VertId | ) |
integer coordinates of all valid points of the cloud, or empty if they have to be computed on the fly by toInt Modifies a member variable of class MR::AlphaShapeData named intPoints.
Calls MR_AlphaShapeData_Set_intPoints(). The reference to the parameter value might be preserved in this object in element intPoints.
| void meshlib::AlphaShapeData::set_int_radius_sq | ( | value:i64 | ) |
squared ball radius in the units of toInt's integer grid, not larger than the squared original radius (so that no point inside a ball can be farther than searchRadius from the ball's points), and small enough for the predicates not to overflow Modifies a member variable of class MR::AlphaShapeData named intRadiusSq.
Calls MR_AlphaShapeData_Set_intRadiusSq(). The reference to the parameter value might be preserved in this object in element intRadiusSq.
| void meshlib::AlphaShapeData::set_search_radius | ( | value:f32 | ) |
the radius of the neighbourhood of a point to consider; a bit larger than the doubled ball radius to compensate the rounding of integer coordinates Modifies a member variable of class MR::AlphaShapeData named searchRadius.
Calls MR_AlphaShapeData_Set_searchRadius().
| void meshlib::AlphaShapeData::set_to_int | ( | value:&meshlib::ConvertToIntVector | ) |
converts cloud's points in integer coordinates Modifies a member variable of class MR::AlphaShapeData named toInt.
Calls MR_AlphaShapeData_Set_toInt(). The reference to the parameter value might be preserved in this object in element toInt.
| void meshlib::AlphaShapeData::set_twins | ( | value:&meshlib::VertBitSet | ) |
the valid points sharing their position in the integer grid with a point of a smaller id, which take part in no search: only the smallest id of a position does; filled together with intPoints, so empty if allPoints was false, and empty if there are no such points Modifies a member variable of class MR::AlphaShapeData named twins.
Calls MR_AlphaShapeData_Set_twins(). The reference to the parameter value might be preserved in this object in element twins.
| auto meshlib::AlphaShapeData::to_int | ( | ) | const -> &meshlib::ConvertToIntVector |
converts cloud's points in integer coordinates Returns a pointer to a member variable of class MR::AlphaShapeData named toInt.
Calls MR_AlphaShapeData_Get_toInt(). The reference to this object might be preserved as the return value.
| auto meshlib::AlphaShapeData::to_int_mut | ( | ) | -> &mut meshlib::ConvertToIntVector |
converts cloud's points in integer coordinates Returns a mutable pointer to a member variable of class MR::AlphaShapeData named toInt.
Calls MR_AlphaShapeData_GetMutable_toInt(). The reference to this object might be preserved as the return value.
| auto meshlib::AlphaShapeData::twins | ( | ) | const -> &meshlib::VertBitSet |
the valid points sharing their position in the integer grid with a point of a smaller id, which take part in no search: only the smallest id of a position does; filled together with intPoints, so empty if allPoints was false, and empty if there are no such points Returns a pointer to a member variable of class MR::AlphaShapeData named twins.
Calls MR_AlphaShapeData_Get_twins(). The reference to this object might be preserved as the return value.
| auto meshlib::AlphaShapeData::twins_mut | ( | ) | -> &mut meshlib::VertBitSet |
the valid points sharing their position in the integer grid with a point of a smaller id, which take part in no search: only the smallest id of a position does; filled together with intPoints, so empty if allPoints was false, and empty if there are no such points Returns a mutable pointer to a member variable of class MR::AlphaShapeData named twins.
Calls MR_AlphaShapeData_GetMutable_twins(). The reference to this object might be preserved as the return value.