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

Classes

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

Public Member Functions

 __init__ (self, *args, **kwargs)
Features.MeasureResult.ConstAngle angle (self)
Features.MeasureResult.ConstDistance centerDistance (self)
Features.MeasureResult.ConstDistance distance (self)
Const_std_vector_std_variant_Sphere_Vector3_float_Features_Primitives_ConeSegment_Features_Primitives_Plane intersections (self)

Static Protected Attributes

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__()

mrmeshpy.Features.ConstMeasureResult.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.Features.ConstMeasureResult) -> None

2. __init__(self: meshlib.mrmeshpy.Features.ConstMeasureResult, arg0: meshlib.mrmeshpy.Features.ConstMeasureResult) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.Features.ConstMeasureResult, distance: meshlib.mrmeshpy.Features.MeasureResult.ConstDistance, centerDistance: meshlib.mrmeshpy.Features.MeasureResult.ConstDistance, angle: meshlib.mrmeshpy.Features.MeasureResult.ConstAngle, intersections: meshlib.mrmeshpy.Const_std_vector_std_variant_Sphere_Vector3_float_Features_Primitives_ConeSegment_Features_Primitives_Plane) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.Features.ConstMeasureResult, : meshlib.mrmeshpy.Features.ConstMeasureResult) -> None

Member Function Documentation

◆ angle()

Features.MeasureResult.ConstAngle mrmeshpy.Features.ConstMeasureResult.angle ( self)

◆ centerDistance()

Features.MeasureResult.ConstDistance mrmeshpy.Features.ConstMeasureResult.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 in mrmeshpy.Features.MeasureResult, and mrmeshpy.Features.MeasureResult.

◆ distance()

Features.MeasureResult.ConstDistance mrmeshpy.Features.ConstMeasureResult.distance ( self)
Exact distance.

Reimplemented in mrmeshpy.Features.MeasureResult, and mrmeshpy.Features.MeasureResult.

◆ intersections()

The primitives obtained from intersecting those two.

Reimplemented in mrmeshpy.Features.MeasureResult, and mrmeshpy.Features.MeasureResult.

Member Data Documentation

◆ _offsetof_angle

typing mrmeshpy.Features.ConstMeasureResult._offsetof_angle = 64
staticprotected

◆ _offsetof_centerDistance

typing mrmeshpy.Features.ConstMeasureResult._offsetof_centerDistance = 32
staticprotected

◆ _offsetof_distance

typing mrmeshpy.Features.ConstMeasureResult._offsetof_distance = 0
staticprotected

◆ _offsetof_intersections

typing mrmeshpy.Features.ConstMeasureResult._offsetof_intersections = 120
staticprotected

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