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

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

Inheritance diagram for MR.ContourToDistanceMapParams:

Public Member Functions

unsafe ContourToDistanceMapParams ()
 Constructs an empty (default-constructed) instance.
unsafe ContourToDistanceMapParams (MR.Const_ContourToDistanceMapParams _other)
 Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams.
 ContourToDistanceMapParams (ContourToDistanceMapParams _other)
 Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams.
unsafe 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 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 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 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 ContourToDistanceMapParams (MR.Const_DistanceMapToWorld toWorld)
 Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams.
unsafe MR.ContourToDistanceMapParams assign (MR.Const_ContourToDistanceMapParams _other)
 Generated from method MR::ContourToDistanceMapParams::operator=.

Properties

new unsafe ref MR.Vector2f pixelSize [get]
 pixel size
new unsafe ref MR.Vector2i resolution [get]
 distance map size
new unsafe ref MR.Vector2f orgPoint [get]
 coordinates of origin area corner
new unsafe ref 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 non-const half of the class.

Constructor & Destructor Documentation

◆ ContourToDistanceMapParams() [1/8]

unsafe MR.ContourToDistanceMapParams.ContourToDistanceMapParams ( )
inline

Constructs an empty (default-constructed) instance.

◆ ContourToDistanceMapParams() [2/8]

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

◆ ContourToDistanceMapParams() [3/8]

MR.ContourToDistanceMapParams.ContourToDistanceMapParams ( ContourToDistanceMapParams _other)
inline

◆ ContourToDistanceMapParams() [4/8]

unsafe MR.ContourToDistanceMapParams.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.

◆ ContourToDistanceMapParams() [5/8]

unsafe MR.ContourToDistanceMapParams.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.

◆ ContourToDistanceMapParams() [6/8]

unsafe MR.ContourToDistanceMapParams.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.

◆ ContourToDistanceMapParams() [7/8]

unsafe MR.ContourToDistanceMapParams.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.

◆ ContourToDistanceMapParams() [8/8]

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

Member Function Documentation

◆ assign()

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

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

Property Documentation

◆ orgPoint

new unsafe ref MR.Vector2f MR.ContourToDistanceMapParams.orgPoint
get

coordinates of origin area corner

◆ pixelSize

new unsafe ref MR.Vector2f MR.ContourToDistanceMapParams.pixelSize
get

pixel size

◆ resolution

new unsafe ref MR.Vector2i MR.ContourToDistanceMapParams.resolution
get

distance map size

◆ withSign

new unsafe ref bool MR.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: