MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.Features.MeasureResult Class Reference
Inheritance diagram for mrmeshpy.Features.MeasureResult:

Classes

class  Angle
class  BasicPart
class  ConstAngle
class  ConstBasicPart
class  ConstDistance
class  Distance
class  Status

Public Member Functions

None __init__ (self)
None __init__ (self, Features.ConstMeasureResult arg0)
None __init__ (self, Features.MeasureResult.ConstDistance distance, Features.MeasureResult.ConstDistance centerDistance, Features.MeasureResult.ConstAngle angle, Const_std_vector_std_variant_Sphere_Vector3_float_Features_Primitives_ConeSegment_Features_Primitives_Plane intersections)
Features.MeasureResult assign (self, Features.ConstMeasureResult other)
None swapObjects (self)
Features.MeasureResult.Angle angle (self)
None angle (self, Features.MeasureResult.ConstAngle arg1)
Features.MeasureResult.Distance centerDistance (self)
None centerDistance (self, Features.MeasureResult.ConstDistance arg1)
Features.MeasureResult.Distance distance (self)
None distance (self, Features.MeasureResult.ConstDistance arg1)
std_vector_std_variant_Sphere_Vector3_float_Features_Primitives_ConeSegment_Features_Primitives_Plane intersections (self)
None intersections (self, Const_std_vector_std_variant_Sphere_Vector3_float_Features_Primitives_ConeSegment_Features_Primitives_Plane arg1)
Public Member Functions inherited from mrmeshpy.Features.ConstMeasureResult
 __init__ (self, *args, **kwargs)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.Features.ConstMeasureResult
typing _offsetof_angle = 64
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/4]

None mrmeshpy.Features.MeasureResult.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.Features.MeasureResult.__init__ ( self)

◆ __init__() [3/4]

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

◆ __init__() [4/4]

Member Function Documentation

◆ angle() [1/2]

Features.MeasureResult.Angle mrmeshpy.Features.MeasureResult.angle ( self)

◆ angle() [2/2]

None mrmeshpy.Features.MeasureResult.angle ( self,
Features.MeasureResult.ConstAngle arg1 )

◆ assign()

Features.MeasureResult mrmeshpy.Features.MeasureResult.assign ( self,
Features.ConstMeasureResult other )

◆ 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.

Reimplemented from mrmeshpy.Features.ConstMeasureResult.

◆ centerDistance() [2/2]

None mrmeshpy.Features.MeasureResult.centerDistance ( self,
Features.MeasureResult.ConstDistance arg1 )
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.

Reimplemented from mrmeshpy.Features.ConstMeasureResult.

◆ distance() [1/2]

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

Reimplemented from mrmeshpy.Features.ConstMeasureResult.

◆ distance() [2/2]

None mrmeshpy.Features.MeasureResult.distance ( self,
Features.MeasureResult.ConstDistance arg1 )
Exact distance.

Reimplemented from mrmeshpy.Features.ConstMeasureResult.

◆ intersections() [1/2]

The primitives obtained from intersecting those two.

Reimplemented from mrmeshpy.Features.ConstMeasureResult.

◆ intersections() [2/2]

The primitives obtained from intersecting those two.

Reimplemented from mrmeshpy.Features.ConstMeasureResult.

◆ swapObjects()

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

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