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) | |
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.
Instances created here own their C++ objects, see CppObject.
| meshlib.AlphaShapeData.AlphaShapeData | ( | 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.
| meshlib.AlphaShapeData.AlphaShapeData | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_AlphaShapeData_DefaultConstruct().
| meshlib.AlphaShapeData.AlphaShapeData | ( | meshlib.ConvertToIntVector | toInt, |
| meshlib.Vector_MR_Vector3i_MR_VertId | intPoints, | ||
| meshlib.VertBitSet | twins, | ||
| long | intRadiusSq, | ||
| float | searchRadius ) |
Constructs MR::AlphaShapeData elementwise. 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.
Calls MR_AlphaShapeData_ConstructFrom().
| meshlib.AlphaShapeData.AlphaShapeData | ( | meshlib.AlphaShapeData | _other | ) |
Generated from constructor MR::AlphaShapeData::AlphaShapeData. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_AlphaShapeData_ConstructFromAnother().
| meshlib.AlphaShapeData meshlib.AlphaShapeData.assignFromAnother | ( | meshlib.AlphaShapeData | _other | ) |
Generated from method MR::AlphaShapeData::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_AlphaShapeData_AssignFromAnother().
| meshlib.PreciseVertCoords meshlib.AlphaShapeData.coords | ( | meshlib.PointCloud | cloud, |
| meshlib.VertId | v ) |
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().
| meshlib.Vector_MR_Vector3i_MR_VertId meshlib.AlphaShapeData.intPoints | ( | ) |
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. The reference to this object might be preserved as the return value.
Calls MR_AlphaShapeData_Get_intPoints().
| long meshlib.AlphaShapeData.intRadiusSq | ( | ) |
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. The reference to this object might be preserved as the return value.
Calls MR_AlphaShapeData_Get_intRadiusSq().
| boolean meshlib.AlphaShapeData.knowsTwins | ( | ) |
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().
| float meshlib.AlphaShapeData.searchRadius | ( | ) |
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. The reference to this object might be preserved as the return value.
Calls MR_AlphaShapeData_Get_searchRadius().
| void meshlib.AlphaShapeData.setIntPoints | ( | meshlib.Vector_MR_Vector3i_MR_VertId | value | ) |
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. The reference to the parameter value might be preserved in this object in element intPoints.
Calls MR_AlphaShapeData_Set_intPoints().
| void meshlib.AlphaShapeData.setIntRadiusSq | ( | long | value | ) |
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. The reference to the parameter value might be preserved in this object in element intRadiusSq.
Calls MR_AlphaShapeData_Set_intRadiusSq().
| void meshlib.AlphaShapeData.setSearchRadius | ( | float | value | ) |
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.setToInt | ( | meshlib.ConvertToIntVector | value | ) |
converts cloud's points in integer coordinates Modifies a member variable of class MR::AlphaShapeData named toInt. The reference to the parameter value might be preserved in this object in element toInt.
Calls MR_AlphaShapeData_Set_toInt().
| void meshlib.AlphaShapeData.setTwins | ( | meshlib.VertBitSet | value | ) |
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. The reference to the parameter value might be preserved in this object in element twins.
Calls MR_AlphaShapeData_Set_twins().
| meshlib.ConvertToIntVector meshlib.AlphaShapeData.toInt | ( | ) |
converts cloud's points in integer coordinates Returns a pointer to a member variable of class MR::AlphaShapeData named toInt. The reference to this object might be preserved as the return value.
Calls MR_AlphaShapeData_Get_toInt().
| meshlib.VertBitSet meshlib.AlphaShapeData.twins | ( | ) |
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. The reference to this object might be preserved as the return value.
Calls MR_AlphaShapeData_Get_twins().