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

Structure with parameters to generate DistanceMap by Contours Generated from class MR.ContourToDistanceMapParams. This is the const half of the class. More...

+ Inheritance diagram for MR.Const_ContourToDistanceMapParams:

Classes

struct  _Underlying
 

Public Member Functions

virtual void Dispose ()
 
unsafe Const_ContourToDistanceMapParams ()
 Constructs an empty (default-constructed) instance.
 
unsafe Const_ContourToDistanceMapParams (MR.Const_ContourToDistanceMapParams _other)
 Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams.
 
unsafe Const_ContourToDistanceMapParams (in MR.Vector2i resolution, in MR.Vector2f oriPoint, in MR.Vector2f areaSize, bool? withSign=null)
 Ctor, calculating pixelSize by areaSize & dmapSize Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams. Parameter withSign defaults to false.
 
unsafe Const_ContourToDistanceMapParams (in MR.Vector2i resolution, in MR.Box2f box, bool? withSign=null)
 Ctor, calculating pixelSize & oriPoint by box parameters Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams. Parameter withSign defaults to false.
 
unsafe Const_ContourToDistanceMapParams (in MR.Vector2i resolution, MR.Std.Const_Vector_StdVectorMRVector2f contours, float offset, bool? withSign=null)
 Ctor, calculating pixelSize & oriPoint by contours box + offset Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams. Parameter withSign defaults to false.
 
unsafe Const_ContourToDistanceMapParams (float pixelSize, MR.Std.Const_Vector_StdVectorMRVector2f contours, float offset, bool? withSign=null)
 Ctor, calculating resolution & oriPoint by contours box + offset Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams. Parameter withSign defaults to false.
 
unsafe Const_ContourToDistanceMapParams (MR.Const_DistanceMapToWorld toWorld)
 Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams.
 
unsafe MR.Vector2f toWorld (MR.Vector2f point)
 get world 2d coordinate (respects origin point and pixel size) point - coordinate on distance map Generated from method MR.ContourToDistanceMapParams.toWorld.
 
unsafe MR.AffineXf3f xf ()
 Generated from method MR.ContourToDistanceMapParams.xf.
 

Static Public Member Functions

static unsafe implicit operator MR.AffineXf3f (MR.Const_ContourToDistanceMapParams _this)
 converts in transformation Generated from conversion operator MR.ContourToDistanceMapParams.operator MR.AffineXf3f.
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Properties

unsafe ref readonly MR.Vector2f pixelSize [get]
 distance map size
 
unsafe ref readonly MR.Vector2i resolution [get]
 coordinates of origin area corner
 
unsafe ref readonly MR.Vector2f orgPoint [get]
 allows calculate negative values of distance (inside closed and correctly oriented (CW) contours)
 
unsafe bool withSign [get]
 
- Properties inherited from MR.Misc.Object< Const_ContourToDistanceMapParams >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

Additional Inherited Members

- Protected Attributes inherited from MR.Misc.Object< Const_ContourToDistanceMapParams >
bool _IsOwningVal
 

Detailed Description

Structure with parameters to generate DistanceMap by Contours Generated from class MR.ContourToDistanceMapParams. This is the const half of the class.


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