MeshLib Python Docs
Loading...
Searching...
No Matches
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.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)
 

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
 

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 mrmeshpy.Features.MeasureResult.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/3]

None mrmeshpy.Features.MeasureResult.__init__ ( self)

◆ __init__() [3/3]

Implicit aggregate constructor.

Member Function Documentation

◆ centerDistance() [1/2]

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.

◆ centerDistance() [2/2]

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

◆ distance() [1/2]

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

◆ distance() [2/2]

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

◆ intersections() [1/2]

The primitives obtained from intersecting those two.

◆ intersections() [2/2]

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

◆ operator() [1/2]

Features.MeasureResult mrmeshpy.Features.MeasureResult.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

Features.MeasureResult mrmeshpy.Features.MeasureResult.operator ( * args,
** kwargs )
static

◆ swapObjects()

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

Member Data Documentation

◆ _offsetof_centerDistance

typing mrmeshpy.Features.MeasureResult._offsetof_centerDistance = 32
staticprotected

◆ _offsetof_distance

typing mrmeshpy.Features.MeasureResult._offsetof_distance = 0
staticprotected

◆ _offsetof_intersections

typing mrmeshpy.Features.MeasureResult._offsetof_intersections = 120
staticprotected

◆ angle

Features mrmeshpy.Features.MeasureResult.angle .MeasureResult.Angle
static

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