20 #ifndef FeaturesAPI_NormalToFace_H_
21 #define FeaturesAPI_NormalToFace_H_
23 #include "FeaturesAPI.h"
25 #include <FeaturesPlugin_NormalToFace.h>
27 #include <ModelHighAPI_Interface.h>
28 #include <ModelHighAPI_Macro.h>
Interface for NormalToface feature.
Definition: FeaturesAPI_NormalToFace.h:37
FeaturesAPI_NormalToFace(const std::shared_ptr< ModelAPI_Feature > &theFeature)
Constructor without values.
Definition: FeaturesAPI_NormalToFace.cpp:27
virtual void dump(ModelHighAPI_Dumper &theDumper) const
Dump wrapped feature.
Definition: FeaturesAPI_NormalToFace.cpp:68
virtual std::shared_ptr< ModelAPI_AttributeString > vertexOption() const
use a vertex
Definition: FeaturesAPI_NormalToFace.h:64
virtual std::shared_ptr< ModelAPI_AttributeSelection > faceSelected() const
base face
Definition: FeaturesAPI_NormalToFace.h:64
virtual ~FeaturesAPI_NormalToFace()
Destructor.
Definition: FeaturesAPI_NormalToFace.cpp:63
virtual std::shared_ptr< ModelAPI_AttributeSelection > vertexSelected() const
vertex
Definition: FeaturesAPI_NormalToFace.h:64
static const std::string & FACE_SELECTED_ID()
Attribute name for face selected.
Definition: FeaturesPlugin_NormalToFace.h:43
static const std::string & ID()
Normal to face kind.
Definition: FeaturesPlugin_NormalToFace.h:36
static const std::string & VERTEX_OPTION_ID()
Attribute name of vertex option.
Definition: FeaturesPlugin_NormalToFace.h:57
static const std::string & VERTEX_SELECTED_ID()
Attribute name for vertex selected.
Definition: FeaturesPlugin_NormalToFace.h:50
Attribute that contains reference to the sub-shape of some result, the selected shape.
Definition: ModelAPI_AttributeSelection.h:35
API for the attribute that contains std (null terminated) string.
Definition: ModelAPI_AttributeString.h:33
Document for internal data structure of any object storage.
Definition: ModelAPI_Document.h:52
Dump engine for the model.
Definition: ModelHighAPI_Dumper.h:81
Base class for feature interfaces.
Definition: ModelHighAPI_Interface.h:42
Class for filling ModelAPI_AttributeSelection.
Definition: ModelHighAPI_Selection.h:49
NormalPtr getNormal(const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theBaseFace, const ModelHighAPI_Selection &theOptionalPoint)
Create normal to a face feature.
Definition: FeaturesAPI_NormalToFace.cpp:90