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

Public Member Functions

 ChangePolylinePointsAction (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ChangePolylinePointsAction (meshlib.ChangePolylinePointsAction _other)
 ChangePolylinePointsAction (java.lang.String name, meshlib.std_shared_ptr_MR_ObjectLines obj)
 ChangePolylinePointsAction (java.lang.String name, meshlib.std_shared_ptr_MR_ObjectLines obj, meshlib.VertCoords newPoints)
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.ChangePolylinePointsAction staticDowncastFromHistoryAction (meshlib.HistoryAction object)
static meshlib.ChangePolylinePointsAction 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 points only (not topology) change Generated from class MR::ChangePolylinePointsAction. Base classes: Direct: (non-virtual) MR::HistoryAction

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

Constructor & Destructor Documentation

◆ ChangePolylinePointsAction() [1/4]

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

◆ ChangePolylinePointsAction() [2/4]

meshlib.ChangePolylinePointsAction.ChangePolylinePointsAction ( meshlib.ChangePolylinePointsAction _other)

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

Calls MR_ChangePolylinePointsAction_ConstructFromAnother().

◆ ChangePolylinePointsAction() [3/4]

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

use this constructor to remember object's lines points before making any changes in it Generated from constructor MR::ChangePolylinePointsAction::ChangePolylinePointsAction. 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_ChangePolylinePointsAction_Construct_2().

◆ ChangePolylinePointsAction() [4/4]

meshlib.ChangePolylinePointsAction.ChangePolylinePointsAction ( java.lang.String name,
meshlib.std_shared_ptr_MR_ObjectLines obj,
meshlib.VertCoords newPoints )

use this constructor to remember object's lines points and immediate set new value Generated from constructor MR::ChangePolylinePointsAction::ChangePolylinePointsAction. 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 newPoints might be preserved in the constructed object.

Calls MR_ChangePolylinePointsAction_Construct_3().

Member Function Documentation

◆ action()

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

Generated from method MR::ChangePolylinePointsAction::action.

Calls MR_ChangePolylinePointsAction_action().

◆ dynamicDowncastFromHistoryAction()

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

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

Calls MR_ChangePolylinePointsAction_MutableDynamicDowncastFrom_MR_HistoryAction().

◆ heapBytes()

long meshlib.ChangePolylinePointsAction.heapBytes ( )

Generated from method MR::ChangePolylinePointsAction::heapBytes.

Calls MR_ChangePolylinePointsAction_heapBytes().

◆ name()

meshlib.std_string meshlib.ChangePolylinePointsAction.name ( )

Generated from method MR::ChangePolylinePointsAction::name.

Calls MR_ChangePolylinePointsAction_name().

◆ setObjectDirty()

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

Generated from method MR::ChangePolylinePointsAction::setObjectDirty.

Calls MR_ChangePolylinePointsAction_setObjectDirty().

◆ staticDowncastFromHistoryAction()

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

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

Calls MR_ChangePolylinePointsAction_MutableStaticDowncastFrom_MR_HistoryAction().

◆ upcastToHistoryAction()

meshlib.HistoryAction meshlib.ChangePolylinePointsAction.upcastToHistoryAction ( )

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

Calls MR_ChangePolylinePointsAction_MutableUpcastTo_MR_HistoryAction().


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