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) | |
Can have infinite length in one or two directions. The top and/or bottom can be flat or pointy. Doubles as a cylinder, line (finite or infinite), and a circle. Generated from class MR::Features::Primitives::ConeSegment.
Instances created here own their C++ objects, see CppObject.
| meshlib.features.primitives.ConeSegment.ConeSegment | ( | 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.features.primitives.ConeSegment.ConeSegment | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_Features_Primitives_ConeSegment_DefaultConstruct().
| meshlib.features.primitives.ConeSegment.ConeSegment | ( | meshlib.Vector3f | referencePoint, |
| meshlib.Vector3f | dir, | ||
| float | positiveSideRadius, | ||
| float | negativeSideRadius, | ||
| float | positiveLength, | ||
| float | negativeLength, | ||
| boolean | hollow ) |
Constructs MR::Features::Primitives::ConeSegment elementwise. The reference to the parameter referencePoint might be preserved in the constructed object. The reference to the parameter dir might be preserved in the constructed object.
Calls MR_Features_Primitives_ConeSegment_ConstructFrom().
| meshlib.features.primitives.ConeSegment.ConeSegment | ( | meshlib.features.primitives.ConeSegment | _other | ) |
Generated from constructor MR::Features::Primitives::ConeSegment::ConeSegment. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_Features_Primitives_ConeSegment_ConstructFromAnother().
| meshlib.features.primitives.ConeSegment meshlib.features.primitives.ConeSegment.assignFromAnother | ( | meshlib.features.primitives.ConeSegment | _other | ) |
Generated from method MR::Features::Primitives::ConeSegment::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_Features_Primitives_ConeSegment_AssignFromAnother().
| meshlib.features.primitives.ConeSegment meshlib.features.primitives.ConeSegment.axis | ( | ) |
Returns a finite axis. For circles, you might want to immediately extendToInfinity() it. Generated from method MR::Features::Primitives::ConeSegment::axis.
Calls MR_Features_Primitives_ConeSegment_axis().
| meshlib.features.primitives.ConeSegment meshlib.features.primitives.ConeSegment.baseCircle | ( | boolean | negative | ) |
Returns one of the two base circles. Generated from method MR::Features::Primitives::ConeSegment::baseCircle.
Calls MR_Features_Primitives_ConeSegment_baseCircle().
| meshlib.features.primitives.Plane meshlib.features.primitives.ConeSegment.basePlane | ( | boolean | negative | ) |
Returns one of the two base planes. Generated from method MR::Features::Primitives::ConeSegment::basePlane.
Calls MR_Features_Primitives_ConeSegment_basePlane().
| meshlib.Sphere3f meshlib.features.primitives.ConeSegment.basePoint | ( | boolean | negative | ) |
Returns a center of one of the two base circles. Generated from method MR::Features::Primitives::ConeSegment::basePoint.
Calls MR_Features_Primitives_ConeSegment_basePoint().
| meshlib.Sphere3f meshlib.features.primitives.ConeSegment.centerPoint | ( | ) |
Returns the center point (unlike referencePoint, which can actually be off-center). For half-infinite objects, returns the finite end. Generated from method MR::Features::Primitives::ConeSegment::centerPoint.
Calls MR_Features_Primitives_ConeSegment_centerPoint().
| meshlib.Vector3f meshlib.features.primitives.ConeSegment.dir | ( | ) |
The axis direction. Must be normalized. Returns a pointer to a member variable of class MR::Features::Primitives::ConeSegment named dir. The reference to this object might be preserved as the return value.
Calls MR_Features_Primitives_ConeSegment_Get_dir().
| meshlib.features.primitives.ConeSegment meshlib.features.primitives.ConeSegment.extendToInfinity | ( | ) |
Extends the object to infinity in both directions. This is equivalent to .extendToInfinity(false).extendToInfinity(true), except that calling it with positiveSideRadius != negativeSideRadius is illegal and triggers an assertion. Generated from method MR::Features::Primitives::ConeSegment::extendToInfinity.
Calls MR_Features_Primitives_ConeSegment_extendToInfinity_0().
| meshlib.features.primitives.ConeSegment meshlib.features.primitives.ConeSegment.extendToInfinity | ( | boolean | negative | ) |
Extends the object to infinity in one direction. The radius in the extended direction becomes equal to the radius in the opposite direction. Generated from method MR::Features::Primitives::ConeSegment::extendToInfinity.
Calls MR_Features_Primitives_ConeSegment_extendToInfinity_1().
| boolean meshlib.features.primitives.ConeSegment.hollow | ( | ) |
If true, the cone has no caps and no volume, and all distances (to the conical surface, that is) are positive. Returns a pointer to a member variable of class MR::Features::Primitives::ConeSegment named hollow. The reference to this object might be preserved as the return value.
Calls MR_Features_Primitives_ConeSegment_Get_hollow().
| boolean meshlib.features.primitives.ConeSegment.isCircle | ( | ) |
Generated from method MR::Features::Primitives::ConeSegment::isCircle.
Calls MR_Features_Primitives_ConeSegment_isCircle().
| boolean meshlib.features.primitives.ConeSegment.isZeroRadius | ( | ) |
Generated from method MR::Features::Primitives::ConeSegment::isZeroRadius.
Calls MR_Features_Primitives_ConeSegment_isZeroRadius().
| float meshlib.features.primitives.ConeSegment.length | ( | ) |
Returns the length. Can be infinite. Generated from method MR::Features::Primitives::ConeSegment::length.
Calls MR_Features_Primitives_ConeSegment_length().
| float meshlib.features.primitives.ConeSegment.negativeLength | ( | ) |
Distance from the center to the cap in the direction opposite to dir. Returns a pointer to a member variable of class MR::Features::Primitives::ConeSegment named negativeLength. The reference to this object might be preserved as the return value.
Calls MR_Features_Primitives_ConeSegment_Get_negativeLength().
| float meshlib.features.primitives.ConeSegment.negativeSideRadius | ( | ) |
Cap radius in the direction opposite to dir. Returns a pointer to a member variable of class MR::Features::Primitives::ConeSegment named negativeSideRadius. The reference to this object might be preserved as the return value.
Calls MR_Features_Primitives_ConeSegment_Get_negativeSideRadius().
| float meshlib.features.primitives.ConeSegment.positiveLength | ( | ) |
Distance from the center to the cap in the dir direction. Returns a pointer to a member variable of class MR::Features::Primitives::ConeSegment named positiveLength. The reference to this object might be preserved as the return value.
Calls MR_Features_Primitives_ConeSegment_Get_positiveLength().
| float meshlib.features.primitives.ConeSegment.positiveSideRadius | ( | ) |
Cap radius in the dir direction. Returns a pointer to a member variable of class MR::Features::Primitives::ConeSegment named positiveSideRadius. The reference to this object might be preserved as the return value.
Calls MR_Features_Primitives_ConeSegment_Get_positiveSideRadius().
| meshlib.Vector3f meshlib.features.primitives.ConeSegment.referencePoint | ( | ) |
Some point on the axis, but not necessarily the true center point. Use centerPoint() for that. Returns a pointer to a member variable of class MR::Features::Primitives::ConeSegment named referencePoint. The reference to this object might be preserved as the return value.
Calls MR_Features_Primitives_ConeSegment_Get_referencePoint().
| void meshlib.features.primitives.ConeSegment.setDir | ( | meshlib.Vector3f | value | ) |
The axis direction. Must be normalized. Modifies a member variable of class MR::Features::Primitives::ConeSegment named dir. The reference to the parameter value might be preserved in this object in element dir.
Calls MR_Features_Primitives_ConeSegment_Set_dir().
| void meshlib.features.primitives.ConeSegment.setHollow | ( | boolean | value | ) |
If true, the cone has no caps and no volume, and all distances (to the conical surface, that is) are positive. Modifies a member variable of class MR::Features::Primitives::ConeSegment named hollow.
Calls MR_Features_Primitives_ConeSegment_Set_hollow().
| void meshlib.features.primitives.ConeSegment.setNegativeLength | ( | float | value | ) |
Distance from the center to the cap in the direction opposite to dir. Modifies a member variable of class MR::Features::Primitives::ConeSegment named negativeLength.
Calls MR_Features_Primitives_ConeSegment_Set_negativeLength().
| void meshlib.features.primitives.ConeSegment.setNegativeSideRadius | ( | float | value | ) |
Cap radius in the direction opposite to dir. Modifies a member variable of class MR::Features::Primitives::ConeSegment named negativeSideRadius.
Calls MR_Features_Primitives_ConeSegment_Set_negativeSideRadius().
| void meshlib.features.primitives.ConeSegment.setPositiveLength | ( | float | value | ) |
Distance from the center to the cap in the dir direction. Modifies a member variable of class MR::Features::Primitives::ConeSegment named positiveLength.
Calls MR_Features_Primitives_ConeSegment_Set_positiveLength().
| void meshlib.features.primitives.ConeSegment.setPositiveSideRadius | ( | float | value | ) |
Cap radius in the dir direction. Modifies a member variable of class MR::Features::Primitives::ConeSegment named positiveSideRadius.
Calls MR_Features_Primitives_ConeSegment_Set_positiveSideRadius().
| void meshlib.features.primitives.ConeSegment.setReferencePoint | ( | meshlib.Vector3f | value | ) |
Some point on the axis, but not necessarily the true center point. Use centerPoint() for that. Modifies a member variable of class MR::Features::Primitives::ConeSegment named referencePoint. The reference to the parameter value might be preserved in this object in element referencePoint.
Calls MR_Features_Primitives_ConeSegment_Set_referencePoint().
| meshlib.features.primitives.ConeSegment meshlib.features.primitives.ConeSegment.untruncateCone | ( | ) |
Untruncates a truncated cone. If it's not a cone at all, returns the object unchanged and triggers an assertion. Generated from method MR::Features::Primitives::ConeSegment::untruncateCone.
Calls MR_Features_Primitives_ConeSegment_untruncateCone().