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

Public Member Functions

 ChangePolylineAction (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ChangePolylineAction (meshlib.ChangePolylineAction _other)
 ChangePolylineAction (java.lang.String name, meshlib.std_shared_ptr_MR_ObjectLines obj)
 ChangePolylineAction (java.lang.String name, meshlib.std_shared_ptr_MR_ObjectLines obj, meshlib.std_shared_ptr_MR_Polyline3 newPolyline)
meshlib.std_string name ()
void action (meshlib.HistoryAction_Type _1)
long heapBytes ()
meshlib.HistoryAction upcastToHistoryAction ()
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 ()

Static Public Member Functions

static void setObjectDirty (meshlib.std_shared_ptr_MR_ObjectLines obj)
static meshlib.ChangePolylineAction staticDowncastFromHistoryAction (meshlib.HistoryAction object)
static meshlib.ChangePolylineAction dynamicDowncastFromHistoryAction (meshlib.HistoryAction object)

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

Undo action for ObjectLines polyline change Generated from class MR::ChangePolylineAction. Base classes: Direct: (non-virtual) MR::HistoryAction

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

Constructor & Destructor Documentation

◆ ChangePolylineAction() [1/4]

meshlib.ChangePolylineAction.ChangePolylineAction ( 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.

◆ ChangePolylineAction() [2/4]

meshlib.ChangePolylineAction.ChangePolylineAction ( meshlib.ChangePolylineAction _other)

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

Calls MR_ChangePolylineAction_ConstructFromAnother().

◆ ChangePolylineAction() [3/4]

meshlib.ChangePolylineAction.ChangePolylineAction ( java.lang.String name,
meshlib.std_shared_ptr_MR_ObjectLines obj )

use this constructor to remember object's polyline before making any changes in it Generated from constructor MR::ChangePolylineAction::ChangePolylineAction. The reference to the parameter name might be preserved in the constructed object. The reference to the parameter obj might be preserved in the constructed object.

Calls MR_ChangePolylineAction_Construct_2().

◆ ChangePolylineAction() [4/4]

meshlib.ChangePolylineAction.ChangePolylineAction ( java.lang.String name,
meshlib.std_shared_ptr_MR_ObjectLines obj,
meshlib.std_shared_ptr_MR_Polyline3 newPolyline )

use this constructor to remember object's polyline and immediately set new polyline Generated from constructor MR::ChangePolylineAction::ChangePolylineAction. The reference to the parameter name might be preserved in the constructed object. The reference to the parameter obj might be preserved in the constructed object. The reference to the parameter newPolyline might be preserved in the constructed object.

Calls MR_ChangePolylineAction_Construct_3().

Member Function Documentation

◆ action()

void meshlib.ChangePolylineAction.action ( meshlib.HistoryAction_Type _1)

Generated from method MR::ChangePolylineAction::action.

Calls MR_ChangePolylineAction_action().

◆ dynamicDowncastFromHistoryAction()

meshlib.ChangePolylineAction meshlib.ChangePolylineAction.dynamicDowncastFromHistoryAction ( meshlib.HistoryAction object)
static

Dynamic downcast from the base class MR::HistoryAction. Returns null if the object isn't actually a ChangePolylineAction. The result refers to object.

Calls MR_ChangePolylineAction_MutableDynamicDowncastFrom_MR_HistoryAction().

◆ heapBytes()

long meshlib.ChangePolylineAction.heapBytes ( )

Generated from method MR::ChangePolylineAction::heapBytes.

Calls MR_ChangePolylineAction_heapBytes().

◆ name()

meshlib.std_string meshlib.ChangePolylineAction.name ( )

Generated from method MR::ChangePolylineAction::name.

Calls MR_ChangePolylineAction_name().

◆ setObjectDirty()

void meshlib.ChangePolylineAction.setObjectDirty ( meshlib.std_shared_ptr_MR_ObjectLines obj)
static

Generated from method MR::ChangePolylineAction::setObjectDirty.

Calls MR_ChangePolylineAction_setObjectDirty().

◆ staticDowncastFromHistoryAction()

meshlib.ChangePolylineAction meshlib.ChangePolylineAction.staticDowncastFromHistoryAction ( meshlib.HistoryAction object)
static

Static downcast from the base class MR::HistoryAction. Undefined behavior if the object isn't actually a ChangePolylineAction. The result refers to object.

Calls MR_ChangePolylineAction_MutableStaticDowncastFrom_MR_HistoryAction().

◆ upcastToHistoryAction()

meshlib.HistoryAction meshlib.ChangePolylineAction.upcastToHistoryAction ( )

Upcasts to the base class MR::HistoryAction. The result refers to this object.

Calls MR_ChangePolylineAction_MutableUpcastTo_MR_HistoryAction().


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