20 #ifndef FeaturesAPI_Measurement_H_
21 #define FeaturesAPI_Measurement_H_
23 #include "FeaturesAPI.h"
34 double measureLength(
const std::shared_ptr<ModelAPI_Document>& thePart,
40 double measureDistance(
const std::shared_ptr<ModelAPI_Document>& thePart,
47 double measureRadius(
const std::shared_ptr<ModelAPI_Document>& thePart,
53 std::list<double>
measureAngle(
const std::shared_ptr<ModelAPI_Document>& thePart,
60 double measureAngle(
const std::shared_ptr<ModelAPI_Document>& thePart,
68 double 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
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
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 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