Classes | |
class | Angle |
class | BasicPart |
class | Distance |
class | Status |
Static Public Member Functions | |
None | __init__ (*args, **kwargs) |
Features.MeasureResult | operator (*args, **kwargs) |
Features.MeasureResult | operator (*args, **kwargs) |
Static Public Attributes | |
Features | angle .MeasureResult.Angle |
Static Protected Attributes | |
typing | _offsetof_centerDistance = 32 |
typing | _offsetof_distance = 0 |
typing | _offsetof_intersections = 120 |
Generated from: MR::Features::MeasureResult Stores the results of measuring two objects relative to one another.
|
static |
None mrmeshpy.Features.MeasureResult.__init__ | ( | self | ) |
None mrmeshpy.Features.MeasureResult.__init__ | ( | self, | |
Features.MeasureResult.Distance | distance, | ||
Features.MeasureResult.Distance | centerDistance, | ||
Features.MeasureResult.Angle | angle, | ||
std_vector_std_variant_Sphere_Vector3_float_Features_Primitives_ConeSegment_Features_Primitives_Plane | intersections ) |
Implicit aggregate constructor.
Features.MeasureResult.Distance mrmeshpy.Features.MeasureResult.centerDistance | ( | self | ) |
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.
None mrmeshpy.Features.MeasureResult.centerDistance | ( | self, | |
Features.MeasureResult.Distance | arg1 ) |
Features.MeasureResult.Distance mrmeshpy.Features.MeasureResult.distance | ( | self | ) |
Exact distance.
None mrmeshpy.Features.MeasureResult.distance | ( | self, | |
Features.MeasureResult.Distance | arg1 ) |
std_vector_std_variant_Sphere_Vector3_float_Features_Primitives_ConeSegment_Features_Primitives_Plane mrmeshpy.Features.MeasureResult.intersections | ( | self | ) |
The primitives obtained from intersecting those two.
None mrmeshpy.Features.MeasureResult.intersections | ( | self, | |
std_vector_std_variant_Sphere_Vector3_float_Features_Primitives_ConeSegment_Features_Primitives_Plane | arg1 ) |
|
static |
|
static |
None mrmeshpy.Features.MeasureResult.swapObjects | ( | self | ) |
Modifies the object to swap A and B;
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
static |