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

Parameters for aligning 2d contours along given curve Generated from class MR.BendContoursAlongCurveParams. This is the const half of the class. More...

Inheritance diagram for MR.Const_BendContoursAlongCurveParams:

Classes

struct  _Underlying

Public Member Functions

virtual void Dispose ()
unsafe Const_BendContoursAlongCurveParams ()
 Constructs an empty (default-constructed) instance.
unsafe Const_BendContoursAlongCurveParams (float pivotCurveTime, MR.Vector2f pivotBoxPoint, bool periodicCurve, bool stretch, float extrusion)
 Constructs MR.BendContoursAlongCurveParams elementwise.
unsafe Const_BendContoursAlongCurveParams (MR.Const_BendContoursAlongCurveParams _other)
 Generated from constructor MR.BendContoursAlongCurveParams.BendContoursAlongCurveParams.
 Const_BendContoursAlongCurveParams (BendContoursAlongCurveParams _other)
 Generated from constructor MR.BendContoursAlongCurveParams.BendContoursAlongCurveParams.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe float * __ref_storage_pivotCurveTime
unsafe MR.Vector2f__ref_storage_pivotBoxPoint
unsafe bool * __ref_storage_periodicCurve
unsafe bool * __ref_storage_stretch
unsafe float * __ref_storage_extrusion

Properties

unsafe float pivotCurveTime [get]
 Position on the curve, where bounding box's pivot point is mapped (0) - start of the curve, (1) - end of the curve.
unsafe ref readonly MR.Vector2f pivotBoxPoint [get]
 Position of the curve(pivotCurveTime) in the contours' bounding box: (0, 0) - bottom left, (0, 1) - bottom right, (0.5, 0.5) - center, (1, 1) - top right.
unsafe bool periodicCurve [get]
 if true, curve parameter will be always within [0,curve.totalLength) with repetition: xr := mod( x, curve.totalLength )
unsafe bool stretch [get]
 stretch all contours along curve to fit in curve.totalLength
unsafe float extrusion [get]
 Contours extrusion outside of curve level.

Detailed Description

Parameters for aligning 2d contours along given curve Generated from class MR.BendContoursAlongCurveParams. This is the const half of the class.

Constructor & Destructor Documentation

◆ Const_BendContoursAlongCurveParams() [1/4]

unsafe MR.Const_BendContoursAlongCurveParams.Const_BendContoursAlongCurveParams ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_BendContoursAlongCurveParams() [2/4]

unsafe MR.Const_BendContoursAlongCurveParams.Const_BendContoursAlongCurveParams ( float pivotCurveTime,
MR.Vector2f pivotBoxPoint,
bool periodicCurve,
bool stretch,
float extrusion )
inline

Constructs MR.BendContoursAlongCurveParams elementwise.

◆ Const_BendContoursAlongCurveParams() [3/4]

unsafe MR.Const_BendContoursAlongCurveParams.Const_BendContoursAlongCurveParams ( MR.Const_BendContoursAlongCurveParams _other)
inline

◆ Const_BendContoursAlongCurveParams() [4/4]

MR.Const_BendContoursAlongCurveParams.Const_BendContoursAlongCurveParams ( BendContoursAlongCurveParams _other)
inline

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_BendContoursAlongCurveParams.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

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

Member Data Documentation

◆ __ref_storage_extrusion

unsafe float* MR.Const_BendContoursAlongCurveParams.__ref_storage_extrusion
protected

◆ __ref_storage_periodicCurve

unsafe bool* MR.Const_BendContoursAlongCurveParams.__ref_storage_periodicCurve
protected

◆ __ref_storage_pivotBoxPoint

unsafe MR.Vector2f* MR.Const_BendContoursAlongCurveParams.__ref_storage_pivotBoxPoint
protected

◆ __ref_storage_pivotCurveTime

unsafe float* MR.Const_BendContoursAlongCurveParams.__ref_storage_pivotCurveTime
protected

◆ __ref_storage_stretch

unsafe bool* MR.Const_BendContoursAlongCurveParams.__ref_storage_stretch
protected

Property Documentation

◆ extrusion

unsafe float MR.Const_BendContoursAlongCurveParams.extrusion
get

Contours extrusion outside of curve level.

◆ periodicCurve

unsafe bool MR.Const_BendContoursAlongCurveParams.periodicCurve
get

if true, curve parameter will be always within [0,curve.totalLength) with repetition: xr := mod( x, curve.totalLength )

◆ pivotBoxPoint

unsafe ref readonly MR.Vector2f MR.Const_BendContoursAlongCurveParams.pivotBoxPoint
get

Position of the curve(pivotCurveTime) in the contours' bounding box: (0, 0) - bottom left, (0, 1) - bottom right, (0.5, 0.5) - center, (1, 1) - top right.

◆ pivotCurveTime

unsafe float MR.Const_BendContoursAlongCurveParams.pivotCurveTime
get

Position on the curve, where bounding box's pivot point is mapped (0) - start of the curve, (1) - end of the curve.

◆ stretch

unsafe bool MR.Const_BendContoursAlongCurveParams.stretch
get

stretch all contours along curve to fit in curve.totalLength


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