MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.Features.MeasureResult Class Reference

Classes

class  Angle
 
class  BasicPart
 
class  Distance
 
class  Status
 

Public Member Functions

None __init__ (self)
 
None __init__ (self, Features.MeasureResult arg0)
 
None __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)
 
None swapObjects (self)
 
Features.MeasureResult.Distance centerDistance (self)
 
None centerDistance (self, Features.MeasureResult.Distance arg1)
 
Features.MeasureResult.Distance distance (self)
 
None distance (self, Features.MeasureResult.Distance arg1)
 
std_vector_std_variant_Sphere_Vector3_float_Features_Primitives_ConeSegment_Features_Primitives_Plane intersections (self)
 
None intersections (self, std_vector_std_variant_Sphere_Vector3_float_Features_Primitives_ConeSegment_Features_Primitives_Plane arg1)
 

Detailed Description

Generated from:  MR::Features::MeasureResult

Stores the results of measuring two objects relative to one another.

Constructor & Destructor Documentation

◆ __init__() [1/3]

None meshlib.mrmeshpy.Features.MeasureResult.__init__ ( self)
Implicit default constructor.

◆ __init__() [2/3]

None meshlib.mrmeshpy.Features.MeasureResult.__init__ ( self,
Features.MeasureResult arg0 )
Implicit copy constructor.

◆ __init__() [3/3]

Implicit aggregate constructor.

Member Function Documentation

◆ centerDistance() [1/2]

Features.MeasureResult.Distance meshlib.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.

◆ centerDistance() [2/2]

None meshlib.mrmeshpy.Features.MeasureResult.centerDistance ( self,
Features.MeasureResult.Distance arg1 )

◆ distance() [1/2]

Features.MeasureResult.Distance meshlib.mrmeshpy.Features.MeasureResult.distance ( self)
Exact distance.

◆ distance() [2/2]

None meshlib.mrmeshpy.Features.MeasureResult.distance ( self,
Features.MeasureResult.Distance arg1 )

◆ intersections() [1/2]

The primitives obtained from intersecting those two.

◆ intersections() [2/2]

None meshlib.mrmeshpy.Features.MeasureResult.intersections ( self,
std_vector_std_variant_Sphere_Vector3_float_Features_Primitives_ConeSegment_Features_Primitives_Plane arg1 )

◆ swapObjects()

None meshlib.mrmeshpy.Features.MeasureResult.swapObjects ( self)
Modifies the object to swap A and B;

The documentation for this class was generated from the following file: