20#ifndef FeaturesAPI_Measurement_H_
21#define FeaturesAPI_Measurement_H_
23#include "FeaturesAPI.h"
34double measureLength(
const std::shared_ptr<ModelAPI_Document>& thePart,
40double measureDistance(
const std::shared_ptr<ModelAPI_Document>& thePart,
47double measureRadius(
const std::shared_ptr<ModelAPI_Document>& thePart,
53std::list<double>
measureAngle(
const std::shared_ptr<ModelAPI_Document>& thePart,
60double measureAngle(
const std::shared_ptr<ModelAPI_Document>& thePart,
68double shapeProximity(
const std::shared_ptr<ModelAPI_Document>& thePart,
Document for internal data structure of any object storage.
Definition: ModelAPI_Document.h:53
Class for filling ModelAPI_AttributeSelection.
Definition: ModelHighAPI_Selection.h:49
std::list< double > measureAngle(const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theFrom, const ModelHighAPI_Selection &theTo)
Calculate angle(s) between edges.
Definition: FeaturesAPI_Measurement.cpp:93
double shapeProximity(const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theFrom, const ModelHighAPI_Selection &theTo)
Calculate maximum of all distances between objects.
Definition: FeaturesAPI_Measurement.cpp:143
double measureRadius(const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theObject)
Calculate radius of circular edge, cylindrical surface or sphere.
Definition: FeaturesAPI_Measurement.cpp:72
double measureDistance(const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theFrom, const ModelHighAPI_Selection &theTo)
Calculate distance between objects.
Definition: FeaturesAPI_Measurement.cpp:48
double measureLength(const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theEdge)
Calculate length of the edge.
Definition: FeaturesAPI_Measurement.cpp:27