Public Member Functions | |
| Cylinder3d (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| Cylinder3d () | |
| Cylinder3d (meshlib.Cylinder3d _other) | |
| Cylinder3d (meshlib.Vector3d inCenter, meshlib.Vector3d inDirectoin, double inRadius, double inLength) | |
| Cylinder3d (meshlib.Line3d inAxis, double inRadius, double inLength) | |
| meshlib.Cylinder3d | assignFromAnother (meshlib.Cylinder3d _other) |
| meshlib.Vector3d | center_mut () |
| meshlib.Vector3d | center () |
| meshlib.Vector3d | direction_mut () |
| meshlib.Vector3d | direction () |
| meshlib.Line3d | mainAxis () |
| void | setMainAxis (meshlib.Line3d value) |
| double | radius () |
| void | setRadius (double value) |
| double | length () |
| void | setLength (double 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 class describing a cylinder as a mathematical object. A cylinder is represented by a centerline, a radius, and a length. TODO: Cylinder3 could be infinite. For example for infinite Cylinder3 we could use negative length or length = -1 Generated from class MR::Cylinder3d.
Instances created here own their C++ objects, see CppObject.
| meshlib.Cylinder3d.Cylinder3d | ( | 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.Cylinder3d.Cylinder3d | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_Cylinder3d_DefaultConstruct().
| meshlib.Cylinder3d.Cylinder3d | ( | meshlib.Cylinder3d | _other | ) |
Generated from constructor MR::Cylinder3d::Cylinder3d. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_Cylinder3d_ConstructFromAnother().
| meshlib.Cylinder3d.Cylinder3d | ( | meshlib.Vector3d | inCenter, |
| meshlib.Vector3d | inDirectoin, | ||
| double | inRadius, | ||
| double | inLength ) |
Generated from constructor MR::Cylinder3d::Cylinder3d. The reference to the parameter inCenter might be preserved in the constructed object. The reference to the parameter inDirectoin might be preserved in the constructed object.
Calls MR_Cylinder3d_Construct_4().
| meshlib.Cylinder3d.Cylinder3d | ( | meshlib.Line3d | inAxis, |
| double | inRadius, | ||
| double | inLength ) |
Generated from constructor MR::Cylinder3d::Cylinder3d. The reference to the parameter inAxis might be preserved in the constructed object.
Calls MR_Cylinder3d_Construct_3().
| meshlib.Cylinder3d meshlib.Cylinder3d.assignFromAnother | ( | meshlib.Cylinder3d | _other | ) |
Generated from method MR::Cylinder3d::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_Cylinder3d_AssignFromAnother().
| meshlib.Vector3d meshlib.Cylinder3d.center | ( | ) |
Generated from method MR::Cylinder3d::center.
Calls MR_Cylinder3d_center().
| meshlib.Vector3d meshlib.Cylinder3d.center_mut | ( | ) |
Generated from method MR::Cylinder3d::center.
Calls MR_Cylinder3d_center_mut().
| meshlib.Vector3d meshlib.Cylinder3d.direction | ( | ) |
Generated from method MR::Cylinder3d::direction.
Calls MR_Cylinder3d_direction().
| meshlib.Vector3d meshlib.Cylinder3d.direction_mut | ( | ) |
Generated from method MR::Cylinder3d::direction.
Calls MR_Cylinder3d_direction_mut().
| double meshlib.Cylinder3d.length | ( | ) |
Returns a pointer to a member variable of class MR::Cylinder3d named length. The reference to this object might be preserved as the return value.
Calls MR_Cylinder3d_Get_length().
| meshlib.Line3d meshlib.Cylinder3d.mainAxis | ( | ) |
Returns a pointer to a member variable of class MR::Cylinder3d named mainAxis. The reference to this object might be preserved as the return value.
Calls MR_Cylinder3d_Get_mainAxis().
| double meshlib.Cylinder3d.radius | ( | ) |
Returns a pointer to a member variable of class MR::Cylinder3d named radius. The reference to this object might be preserved as the return value.
Calls MR_Cylinder3d_Get_radius().
| void meshlib.Cylinder3d.setLength | ( | double | value | ) |
Modifies a member variable of class MR::Cylinder3d named length.
Calls MR_Cylinder3d_Set_length().
| void meshlib.Cylinder3d.setMainAxis | ( | meshlib.Line3d | value | ) |
Modifies a member variable of class MR::Cylinder3d named mainAxis. The reference to the parameter value might be preserved in this object in element mainAxis.
Calls MR_Cylinder3d_Set_mainAxis().
| void meshlib.Cylinder3d.setRadius | ( | double | value | ) |
Modifies a member variable of class MR::Cylinder3d named radius.
Calls MR_Cylinder3d_Set_radius().