Public Member Functions | |
| GCommand (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| GCommand () | |
| GCommand (meshlib.MoveType type, meshlib.ArcPlane arcPlane, float feed, float x, float y, float z, meshlib.Vector3f arcCenter) | |
| GCommand (meshlib.GCommand _other) | |
| meshlib.GCommand | assignFromAnother (meshlib.GCommand _other) |
| meshlib.MoveType | type () |
| void | setType (meshlib.MoveType value) |
| meshlib.ArcPlane | arcPlane () |
| void | setArcPlane (meshlib.ArcPlane value) |
| float | feed () |
| void | setFeed (float value) |
| float | x () |
| void | setX (float value) |
| float | y () |
| void | setY (float value) |
| float | z () |
| void | setZ (float value) |
| meshlib.Vector3f | arcCenter () |
| void | setArcCenter (meshlib.Vector3f 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) | |
A single G-code move command Generated from class MR::GCommand.
Instances created here own their C++ objects, see CppObject.
| meshlib.GCommand.GCommand | ( | 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.
| meshlib.GCommand.GCommand | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_GCommand_DefaultConstruct().
| meshlib.GCommand.GCommand | ( | meshlib.MoveType | type, |
| meshlib.ArcPlane | arcPlane, | ||
| float | feed, | ||
| float | x, | ||
| float | y, | ||
| float | z, | ||
| meshlib.Vector3f | arcCenter ) |
Constructs MR::GCommand elementwise. The reference to the parameter type might be preserved in the constructed object. The reference to the parameter arcPlane might be preserved in the constructed object. The reference to the parameter arcCenter might be preserved in the constructed object.
Calls MR_GCommand_ConstructFrom().
| meshlib.GCommand.GCommand | ( | meshlib.GCommand | _other | ) |
Generated from constructor MR::GCommand::GCommand. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_GCommand_ConstructFromAnother().
| meshlib.Vector3f meshlib.GCommand.arcCenter | ( | ) |
if type is ArcCW or ArcCCW center of the arc should be specified Returns a pointer to a member variable of class MR::GCommand named arcCenter. The reference to this object might be preserved as the return value.
Calls MR_GCommand_Get_arcCenter().
| meshlib.ArcPlane meshlib.GCommand.arcPlane | ( | ) |
plane of the arc; only relevant when type is ArcCW or ArcCCW Returns a pointer to a member variable of class MR::GCommand named arcPlane. The reference to this object might be preserved as the return value.
Calls MR_GCommand_Get_arcPlane().
| meshlib.GCommand meshlib.GCommand.assignFromAnother | ( | meshlib.GCommand | _other | ) |
Generated from method MR::GCommand::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_GCommand_AssignFromAnother().
| float meshlib.GCommand.feed | ( | ) |
feedrate for move Returns a pointer to a member variable of class MR::GCommand named feed. The reference to this object might be preserved as the return value.
Calls MR_GCommand_Get_feed().
| void meshlib.GCommand.setArcCenter | ( | meshlib.Vector3f | value | ) |
if type is ArcCW or ArcCCW center of the arc should be specified Modifies a member variable of class MR::GCommand named arcCenter. The reference to the parameter value might be preserved in this object in element arcCenter.
Calls MR_GCommand_Set_arcCenter().
| void meshlib.GCommand.setArcPlane | ( | meshlib.ArcPlane | value | ) |
plane of the arc; only relevant when type is ArcCW or ArcCCW Modifies a member variable of class MR::GCommand named arcPlane. The reference to the parameter value might be preserved in this object in element arcPlane.
Calls MR_GCommand_Set_arcPlane().
| void meshlib.GCommand.setFeed | ( | float | value | ) |
feedrate for move Modifies a member variable of class MR::GCommand named feed.
Calls MR_GCommand_Set_feed().
| void meshlib.GCommand.setType | ( | meshlib.MoveType | value | ) |
type of command GX (G0, G1, etc). By default - G1 Modifies a member variable of class MR::GCommand named type. The reference to the parameter value might be preserved in this object in element type.
Calls MR_GCommand_Set_type().
| void meshlib.GCommand.setX | ( | float | value | ) |
coordinates of destination point Modifies a member variable of class MR::GCommand named x.
Calls MR_GCommand_Set_x().
| void meshlib.GCommand.setY | ( | float | value | ) |
Modifies a member variable of class MR::GCommand named y.
Calls MR_GCommand_Set_y().
| void meshlib.GCommand.setZ | ( | float | value | ) |
Modifies a member variable of class MR::GCommand named z.
Calls MR_GCommand_Set_z().
| meshlib.MoveType meshlib.GCommand.type | ( | ) |
type of command GX (G0, G1, etc). By default - G1 Returns a pointer to a member variable of class MR::GCommand named type. The reference to this object might be preserved as the return value.
Calls MR_GCommand_Get_type().
| float meshlib.GCommand.x | ( | ) |
coordinates of destination point Returns a pointer to a member variable of class MR::GCommand named x. The reference to this object might be preserved as the return value.
Calls MR_GCommand_Get_x().
| float meshlib.GCommand.y | ( | ) |
Returns a pointer to a member variable of class MR::GCommand named y. The reference to this object might be preserved as the return value.
Calls MR_GCommand_Get_y().
| float meshlib.GCommand.z | ( | ) |
Returns a pointer to a member variable of class MR::GCommand named z. The reference to this object might be preserved as the return value.
Calls MR_GCommand_Get_z().