MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.BendContoursAlongCurveParams Class Reference
Inheritance diagram for meshlib.BendContoursAlongCurveParams:

Public Member Functions

 BendContoursAlongCurveParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 BendContoursAlongCurveParams ()
 BendContoursAlongCurveParams (float pivotCurveTime, meshlib.Vector2f pivotBoxPoint, boolean periodicCurve, boolean stretch, float extrusion)
 BendContoursAlongCurveParams (meshlib.BendContoursAlongCurveParams _other)
meshlib.BendContoursAlongCurveParams assignFromAnother (meshlib.BendContoursAlongCurveParams _other)
float pivotCurveTime ()
void setPivotCurveTime (float value)
meshlib.Vector2f pivotBoxPoint ()
void setPivotBoxPoint (meshlib.Vector2f value)
boolean periodicCurve ()
void setPeriodicCurve (boolean value)
boolean stretch ()
void setStretch (boolean value)
float extrusion ()
void setExtrusion (float value)
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppObject
 CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner)

Detailed Description

Parameters for aligning 2d contours along given curve Generated from class MR::BendContoursAlongCurveParams.

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ BendContoursAlongCurveParams() [1/4]

meshlib.BendContoursAlongCurveParams.BendContoursAlongCurveParams ( java.lang.foreign.MemorySegment ptr,
boolean owned,
java.lang.Object owner )

Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.

◆ BendContoursAlongCurveParams() [2/4]

meshlib.BendContoursAlongCurveParams.BendContoursAlongCurveParams ( )

Constructs an empty (default-constructed) instance.

Calls MR_BendContoursAlongCurveParams_DefaultConstruct().

◆ BendContoursAlongCurveParams() [3/4]

meshlib.BendContoursAlongCurveParams.BendContoursAlongCurveParams ( float pivotCurveTime,
meshlib.Vector2f pivotBoxPoint,
boolean periodicCurve,
boolean stretch,
float extrusion )

Constructs MR::BendContoursAlongCurveParams elementwise. The reference to the parameter pivotBoxPoint might be preserved in the constructed object.

Calls MR_BendContoursAlongCurveParams_ConstructFrom().

◆ BendContoursAlongCurveParams() [4/4]

meshlib.BendContoursAlongCurveParams.BendContoursAlongCurveParams ( meshlib.BendContoursAlongCurveParams _other)

Generated from constructor MR::BendContoursAlongCurveParams::BendContoursAlongCurveParams. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_BendContoursAlongCurveParams_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.BendContoursAlongCurveParams meshlib.BendContoursAlongCurveParams.assignFromAnother ( meshlib.BendContoursAlongCurveParams _other)

Generated from method MR::BendContoursAlongCurveParams::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_BendContoursAlongCurveParams_AssignFromAnother().

◆ extrusion()

float meshlib.BendContoursAlongCurveParams.extrusion ( )

Contours extrusion outside of curve level Returns a pointer to a member variable of class MR::BendContoursAlongCurveParams named extrusion. The reference to this object might be preserved as the return value.

Calls MR_BendContoursAlongCurveParams_Get_extrusion().

◆ periodicCurve()

boolean meshlib.BendContoursAlongCurveParams.periodicCurve ( )

if true, curve parameter will be always within [0,curve.totalLength) with repetition: xr := mod( x, curve.totalLength ) Returns a pointer to a member variable of class MR::BendContoursAlongCurveParams named periodicCurve. The reference to this object might be preserved as the return value.

Calls MR_BendContoursAlongCurveParams_Get_periodicCurve().

◆ pivotBoxPoint()

meshlib.Vector2f meshlib.BendContoursAlongCurveParams.pivotBoxPoint ( )

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 Returns a pointer to a member variable of class MR::BendContoursAlongCurveParams named pivotBoxPoint. The reference to this object might be preserved as the return value.

Calls MR_BendContoursAlongCurveParams_Get_pivotBoxPoint().

◆ pivotCurveTime()

float meshlib.BendContoursAlongCurveParams.pivotCurveTime ( )

Position on the curve, where bounding box's pivot point is mapped (0) - start of the curve, (1) - end of the curve Returns a pointer to a member variable of class MR::BendContoursAlongCurveParams named pivotCurveTime. The reference to this object might be preserved as the return value.

Calls MR_BendContoursAlongCurveParams_Get_pivotCurveTime().

◆ setExtrusion()

void meshlib.BendContoursAlongCurveParams.setExtrusion ( float value)

Contours extrusion outside of curve level Modifies a member variable of class MR::BendContoursAlongCurveParams named extrusion.

Calls MR_BendContoursAlongCurveParams_Set_extrusion().

◆ setPeriodicCurve()

void meshlib.BendContoursAlongCurveParams.setPeriodicCurve ( boolean value)

if true, curve parameter will be always within [0,curve.totalLength) with repetition: xr := mod( x, curve.totalLength ) Modifies a member variable of class MR::BendContoursAlongCurveParams named periodicCurve.

Calls MR_BendContoursAlongCurveParams_Set_periodicCurve().

◆ setPivotBoxPoint()

void meshlib.BendContoursAlongCurveParams.setPivotBoxPoint ( meshlib.Vector2f value)

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 Modifies a member variable of class MR::BendContoursAlongCurveParams named pivotBoxPoint. The reference to the parameter value might be preserved in this object in element pivotBoxPoint.

Calls MR_BendContoursAlongCurveParams_Set_pivotBoxPoint().

◆ setPivotCurveTime()

void meshlib.BendContoursAlongCurveParams.setPivotCurveTime ( float value)

Position on the curve, where bounding box's pivot point is mapped (0) - start of the curve, (1) - end of the curve Modifies a member variable of class MR::BendContoursAlongCurveParams named pivotCurveTime.

Calls MR_BendContoursAlongCurveParams_Set_pivotCurveTime().

◆ setStretch()

void meshlib.BendContoursAlongCurveParams.setStretch ( boolean value)

stretch all contours along curve to fit in curve.totalLength Modifies a member variable of class MR::BendContoursAlongCurveParams named stretch.

Calls MR_BendContoursAlongCurveParams_Set_stretch().

◆ stretch()

boolean meshlib.BendContoursAlongCurveParams.stretch ( )

stretch all contours along curve to fit in curve.totalLength Returns a pointer to a member variable of class MR::BendContoursAlongCurveParams named stretch. The reference to this object might be preserved as the return value.

Calls MR_BendContoursAlongCurveParams_Get_stretch().


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