MeshLib C# Docs
Loading...
Searching...
No Matches

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.
 Const_ContourToDistanceMapParams (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)

Protected Attributes

unsafe MR.Vector2f__ref_storage_pixelSize
unsafe MR.Vector2i__ref_storage_resolution
unsafe MR.Vector2f__ref_storage_orgPoint
unsafe bool * __ref_storage_withSign

Properties

unsafe ref readonly MR.Vector2f pixelSize [get]
 pixel size
unsafe ref readonly MR.Vector2i resolution [get]
 distance map size
unsafe ref readonly MR.Vector2f orgPoint [get]
 coordinates of origin area corner
unsafe bool withSign [get]
 allows calculate negative values of distance (inside closed and correctly oriented (CW) contours)

Detailed Description

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

Constructor & Destructor Documentation

◆ Const_ContourToDistanceMapParams() [1/8]

unsafe MR.Const_ContourToDistanceMapParams.Const_ContourToDistanceMapParams ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_ContourToDistanceMapParams() [2/8]

unsafe MR.Const_ContourToDistanceMapParams.Const_ContourToDistanceMapParams ( MR.Const_ContourToDistanceMapParams _other)
inline

◆ Const_ContourToDistanceMapParams() [3/8]

MR.Const_ContourToDistanceMapParams.Const_ContourToDistanceMapParams ( ContourToDistanceMapParams _other)
inline

◆ Const_ContourToDistanceMapParams() [4/8]

unsafe MR.Const_ContourToDistanceMapParams.Const_ContourToDistanceMapParams ( in MR.Vector2i resolution,
in MR.Vector2f oriPoint,
in MR.Vector2f areaSize,
bool? withSign = null )
inline

Ctor, calculating pixelSize by areaSize & dmapSize Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams. Parameter withSign defaults to false.

◆ Const_ContourToDistanceMapParams() [5/8]

unsafe MR.Const_ContourToDistanceMapParams.Const_ContourToDistanceMapParams ( in MR.Vector2i resolution,
in MR.Box2f box,
bool? withSign = null )
inline

Ctor, calculating pixelSize & oriPoint by box parameters Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams. Parameter withSign defaults to false.

◆ Const_ContourToDistanceMapParams() [6/8]

unsafe MR.Const_ContourToDistanceMapParams.Const_ContourToDistanceMapParams ( in MR.Vector2i resolution,
MR.Std.Const_Vector_StdVectorMRVector2f contours,
float offset,
bool? withSign = null )
inline

Ctor, calculating pixelSize & oriPoint by contours box + offset Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams. Parameter withSign defaults to false.

◆ Const_ContourToDistanceMapParams() [7/8]

unsafe MR.Const_ContourToDistanceMapParams.Const_ContourToDistanceMapParams ( float pixelSize,
MR.Std.Const_Vector_StdVectorMRVector2f contours,
float offset,
bool? withSign = null )
inline

Ctor, calculating resolution & oriPoint by contours box + offset Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams. Parameter withSign defaults to false.

◆ Const_ContourToDistanceMapParams() [8/8]

unsafe MR.Const_ContourToDistanceMapParams.Const_ContourToDistanceMapParams ( MR.Const_DistanceMapToWorld toWorld)
inline

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_ContourToDistanceMapParams.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_ContourToDistanceMapParams.Dispose ( bool disposing)
inlineprotectedvirtual

◆ operator MR.AffineXf3f()

unsafe implicit MR.Const_ContourToDistanceMapParams.operator MR.AffineXf3f ( MR.Const_ContourToDistanceMapParams _this)
inlinestatic

converts in transformation Generated from conversion operator MR::ContourToDistanceMapParams::operator MR.AffineXf3f.

◆ toWorld()

unsafe MR.Vector2f MR.Const_ContourToDistanceMapParams.toWorld ( MR.Vector2f point)
inline

get world 2d coordinate (respects origin point and pixel size) point - coordinate on distance map Generated from method MR.ContourToDistanceMapParams.toWorld.

◆ xf()

unsafe MR.AffineXf3f MR.Const_ContourToDistanceMapParams.xf ( )
inline

Generated from method MR.ContourToDistanceMapParams.xf.

Member Data Documentation

◆ __ref_storage_orgPoint

unsafe MR.Vector2f* MR.Const_ContourToDistanceMapParams.__ref_storage_orgPoint
protected

◆ __ref_storage_pixelSize

unsafe MR.Vector2f* MR.Const_ContourToDistanceMapParams.__ref_storage_pixelSize
protected

◆ __ref_storage_resolution

unsafe MR.Vector2i* MR.Const_ContourToDistanceMapParams.__ref_storage_resolution
protected

◆ __ref_storage_withSign

unsafe bool* MR.Const_ContourToDistanceMapParams.__ref_storage_withSign
protected

Property Documentation

◆ orgPoint

unsafe ref readonly MR.Vector2f MR.Const_ContourToDistanceMapParams.orgPoint
get

coordinates of origin area corner

◆ pixelSize

unsafe ref readonly MR.Vector2f MR.Const_ContourToDistanceMapParams.pixelSize
get

pixel size

◆ resolution

unsafe ref readonly MR.Vector2i MR.Const_ContourToDistanceMapParams.resolution
get

distance map size

◆ withSign

unsafe bool MR.Const_ContourToDistanceMapParams.withSign
get

allows calculate negative values of distance (inside closed and correctly oriented (CW) contours)


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