MeshLib C# Docs
Loading...
Searching...
No Matches
MR.AlphaShapeData Class Reference

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. This is the non-const half of the class. More...

Inheritance diagram for MR.AlphaShapeData:

Public Member Functions

unsafe AlphaShapeData ()
 Constructs an empty (default-constructed) instance.
unsafe AlphaShapeData (MR.Const_ConvertToIntVector toInt, MR._ByValue_Vector_MRVector3i_MRVertId intPoints, long intRadiusSq, float searchRadius)
 Constructs MR.AlphaShapeData elementwise.
unsafe AlphaShapeData (MR._ByValue_AlphaShapeData _other)
 Generated from constructor MR.AlphaShapeData.AlphaShapeData.
 AlphaShapeData (Const_AlphaShapeData _other)
 Generated from constructor MR.AlphaShapeData.AlphaShapeData.
 AlphaShapeData (AlphaShapeData _other)
 Generated from constructor MR.AlphaShapeData.AlphaShapeData.
unsafe MR.AlphaShapeData assign (MR._ByValue_AlphaShapeData _other)
 Generated from method MR::AlphaShapeData::operator=.
Public Member Functions inherited from MR.Const_AlphaShapeData
virtual void Dispose ()
unsafe Const_AlphaShapeData ()
 Constructs an empty (default-constructed) instance.
unsafe Const_AlphaShapeData (MR.Const_ConvertToIntVector toInt, MR._ByValue_Vector_MRVector3i_MRVertId intPoints, long intRadiusSq, float searchRadius)
 Constructs MR.AlphaShapeData elementwise.
unsafe Const_AlphaShapeData (MR._ByValue_AlphaShapeData _other)
 Generated from constructor MR.AlphaShapeData.AlphaShapeData.
 Const_AlphaShapeData (Const_AlphaShapeData _other)
 Generated from constructor MR.AlphaShapeData.AlphaShapeData.
 Const_AlphaShapeData (AlphaShapeData _other)
 Generated from constructor MR.AlphaShapeData.AlphaShapeData.
unsafe MR.PreciseVertCoords coords (MR.Const_PointCloud cloud, MR.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.

Properties

new unsafe MR.ConvertToIntVector toInt [get, protected set]
 converts cloud's points in integer coordinates
new unsafe MR.Vector_MRVector3i_MRVertId intPoints [get, protected set]
 integer coordinates of all valid points of the cloud, or empty if they have to be computed on the fly by toInt
new unsafe ref long intRadiusSq [get]
 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
new unsafe ref float searchRadius [get]
 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
Properties inherited from MR.Const_AlphaShapeData
unsafe MR.Const_ConvertToIntVector toInt [get, protected set]
 converts cloud's points in integer coordinates
unsafe MR.Const_Vector_MRVector3i_MRVertId intPoints [get, protected set]
 integer coordinates of all valid points of the cloud, or empty if they have to be computed on the fly by toInt
unsafe long intRadiusSq [get]
 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
unsafe float searchRadius [get]
 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

Additional Inherited Members

Protected Member Functions inherited from MR.Const_AlphaShapeData
virtual unsafe void Dispose (bool disposing)
Protected Attributes inherited from MR.Const_AlphaShapeData
unsafe long * __ref_storage_intRadiusSq
unsafe float * __ref_storage_searchRadius

Detailed Description

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. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ AlphaShapeData() [1/5]

unsafe MR.AlphaShapeData.AlphaShapeData ( )
inline

Constructs an empty (default-constructed) instance.

◆ AlphaShapeData() [2/5]

unsafe MR.AlphaShapeData.AlphaShapeData ( MR.Const_ConvertToIntVector toInt,
MR._ByValue_Vector_MRVector3i_MRVertId intPoints,
long intRadiusSq,
float searchRadius )
inline

Constructs MR.AlphaShapeData elementwise.

◆ AlphaShapeData() [3/5]

unsafe MR.AlphaShapeData.AlphaShapeData ( MR._ByValue_AlphaShapeData _other)
inline

Generated from constructor MR.AlphaShapeData.AlphaShapeData.

◆ AlphaShapeData() [4/5]

MR.AlphaShapeData.AlphaShapeData ( Const_AlphaShapeData _other)
inline

Generated from constructor MR.AlphaShapeData.AlphaShapeData.

◆ AlphaShapeData() [5/5]

MR.AlphaShapeData.AlphaShapeData ( AlphaShapeData _other)
inline

Generated from constructor MR.AlphaShapeData.AlphaShapeData.

Member Function Documentation

◆ assign()

unsafe MR.AlphaShapeData MR.AlphaShapeData.assign ( MR._ByValue_AlphaShapeData _other)
inline

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

Property Documentation

◆ intPoints

new unsafe MR.Vector_MRVector3i_MRVertId MR.AlphaShapeData.intPoints
getprotected set

integer coordinates of all valid points of the cloud, or empty if they have to be computed on the fly by toInt

◆ intRadiusSq

new unsafe ref long MR.AlphaShapeData.intRadiusSq
get

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

◆ searchRadius

new unsafe ref float MR.AlphaShapeData.searchRadius
get

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

◆ toInt

new unsafe MR.ConvertToIntVector MR.AlphaShapeData.toInt
getprotected set

converts cloud's points in integer coordinates


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