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) | |
Stores the results of measuring two objects relative to one another. Generated from class MR::Features::MeasureResult.
Instances created here own their C++ objects, see CppObject.
| meshlib.features.MeasureResult.MeasureResult | ( | 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.MeasureResult.MeasureResult | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_Features_MeasureResult_DefaultConstruct().
| meshlib.features.MeasureResult.MeasureResult | ( | meshlib.features.MeasureResult_Distance | distance, |
| meshlib.features.MeasureResult_Distance | centerDistance, | ||
| meshlib.features.MeasureResult_Angle | angle, | ||
| meshlib.std_vector_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane | intersections ) |
Constructs MR::Features::MeasureResult elementwise. The reference to the parameter distance might be preserved in the constructed object. The reference to the parameter centerDistance might be preserved in the constructed object. The reference to the parameter angle might be preserved in the constructed object. The reference to the parameter intersections might be preserved in the constructed object.
Calls MR_Features_MeasureResult_ConstructFrom().
| meshlib.features.MeasureResult.MeasureResult | ( | meshlib.features.MeasureResult | _other | ) |
Generated from constructor MR::Features::MeasureResult::MeasureResult. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_Features_MeasureResult_ConstructFromAnother().
| meshlib.features.MeasureResult_Angle meshlib.features.MeasureResult.angle | ( | ) |
Returns a pointer to a member variable of class MR::Features::MeasureResult named angle. The reference to this object might be preserved as the return value.
Calls MR_Features_MeasureResult_Get_angle().
| meshlib.features.MeasureResult meshlib.features.MeasureResult.assignFromAnother | ( | meshlib.features.MeasureResult | _other | ) |
Generated from method MR::Features::MeasureResult::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_Features_MeasureResult_AssignFromAnother().
| meshlib.features.MeasureResult_Distance meshlib.features.MeasureResult.centerDistance | ( | ) |
Some approximation of the distance. For planes and lines, this expects them to be mostly parallel. For everything else, it just takes the feature center. Returns a pointer to a member variable of class MR::Features::MeasureResult named centerDistance. The reference to this object might be preserved as the return value.
Calls MR_Features_MeasureResult_Get_centerDistance().
| meshlib.features.MeasureResult_Distance meshlib.features.MeasureResult.distance | ( | ) |
Exact distance. Returns a pointer to a member variable of class MR::Features::MeasureResult named distance. The reference to this object might be preserved as the return value.
Calls MR_Features_MeasureResult_Get_distance().
| meshlib.std_vector_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane meshlib.features.MeasureResult.intersections | ( | ) |
The primitives obtained from intersecting those two. Returns a pointer to a member variable of class MR::Features::MeasureResult named intersections. The reference to this object might be preserved as the return value.
Calls MR_Features_MeasureResult_Get_intersections().
| void meshlib.features.MeasureResult.setAngle | ( | meshlib.features.MeasureResult_Angle | value | ) |
Modifies a member variable of class MR::Features::MeasureResult named angle. The reference to the parameter value might be preserved in this object in element angle.
Calls MR_Features_MeasureResult_Set_angle().
| void meshlib.features.MeasureResult.setCenterDistance | ( | meshlib.features.MeasureResult_Distance | value | ) |
Some approximation of the distance. For planes and lines, this expects them to be mostly parallel. For everything else, it just takes the feature center. Modifies a member variable of class MR::Features::MeasureResult named centerDistance. The reference to the parameter value might be preserved in this object in element centerDistance.
Calls MR_Features_MeasureResult_Set_centerDistance().
| void meshlib.features.MeasureResult.setDistance | ( | meshlib.features.MeasureResult_Distance | value | ) |
Exact distance. Modifies a member variable of class MR::Features::MeasureResult named distance. The reference to the parameter value might be preserved in this object in element distance.
Calls MR_Features_MeasureResult_Set_distance().
| void meshlib.features.MeasureResult.setIntersections | ( | meshlib.std_vector_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane | value | ) |
The primitives obtained from intersecting those two. Modifies a member variable of class MR::Features::MeasureResult named intersections. The reference to the parameter value might be preserved in this object in element intersections.
Calls MR_Features_MeasureResult_Set_intersections().
| void meshlib.features.MeasureResult.swapObjects | ( | ) |
Modifies the object to swap A and B; Generated from method MR::Features::MeasureResult::swapObjects.
Calls MR_Features_MeasureResult_swapObjects().