|
| | PrimitivesAPI_Box (const std::shared_ptr< ModelAPI_Feature > &theFeature) |
| | Constructor without values. More...
|
| |
| | PrimitivesAPI_Box (const std::shared_ptr< ModelAPI_Feature > &theFeature, const ModelHighAPI_Double &theDx, const ModelHighAPI_Double &theDy, const ModelHighAPI_Double &theDz) |
| | Constructor with values. More...
|
| |
| | PrimitivesAPI_Box (const std::shared_ptr< ModelAPI_Feature > &theFeature, const ModelHighAPI_Selection &theFirstPoint, const ModelHighAPI_Selection &theSecondPoint) |
| | Constructor with values. More...
|
| |
| | PrimitivesAPI_Box (const std::shared_ptr< ModelAPI_Feature > &theFeature, const ModelHighAPI_Double &theOx, const ModelHighAPI_Double &theOy, const ModelHighAPI_Double &theOz, const ModelHighAPI_Double &theHalfX, const ModelHighAPI_Double &theHalfY, const ModelHighAPI_Double &theHalfZ) |
| | Constructor with values. More...
|
| |
| virtual | ~PrimitivesAPI_Box () |
| | Destructor. More...
|
| |
|
virtual std::string | getID () |
| |
| virtual std::shared_ptr< ModelAPI_AttributeString > | creationMethod () const |
| | Creation method. More...
|
| |
| virtual std::shared_ptr< ModelAPI_AttributeDouble > | dx () const |
| | Dimension in X. More...
|
| |
| virtual std::shared_ptr< ModelAPI_AttributeDouble > | dy () const |
| | Dimension in Y. More...
|
| |
| virtual std::shared_ptr< ModelAPI_AttributeDouble > | dz () const |
| | Dimension in Z. More...
|
| |
| virtual std::shared_ptr< ModelAPI_AttributeSelection > | firstPoint () const |
| | First point. More...
|
| |
| virtual std::shared_ptr< ModelAPI_AttributeSelection > | secondPoint () const |
| | Second point. More...
|
| |
| virtual std::shared_ptr< ModelAPI_AttributeDouble > | ox () const |
| | X coordinate for origin. More...
|
| |
| virtual std::shared_ptr< ModelAPI_AttributeDouble > | oy () const |
| | Y coordinate for origin. More...
|
| |
| virtual std::shared_ptr< ModelAPI_AttributeDouble > | oz () const |
| | Z coordinate for origin. More...
|
| |
| virtual std::shared_ptr< ModelAPI_AttributeDouble > | halfdx () const |
| | Half length in X. More...
|
| |
| virtual std::shared_ptr< ModelAPI_AttributeDouble > | halfdy () const |
| | Half length in Y. More...
|
| |
| virtual std::shared_ptr< ModelAPI_AttributeDouble > | halfdz () const |
| | Half length in Z. More...
|
| |
| void | setDimensions (const ModelHighAPI_Double &theDx, const ModelHighAPI_Double &theDy, const ModelHighAPI_Double &theDz) |
| | Set dimensions. More...
|
| |
| void | setPoints (const ModelHighAPI_Selection &theFirstPoint, const ModelHighAPI_Selection &theSecondPoint) |
| | Set points. More...
|
| |
| void | setOrigin (const ModelHighAPI_Double &theOx, const ModelHighAPI_Double &theOy, const ModelHighAPI_Double &theOz) |
| | Set origin point. More...
|
| |
| void | setHalfLengths (const ModelHighAPI_Double &theHalfLengthX, const ModelHighAPI_Double &theHalfLengthY, const ModelHighAPI_Double &theHalfLengthZ) |
| | Set half lengths. More...
|
| |
| virtual void | dump (ModelHighAPI_Dumper &theDumper) const |
| | Dump wrapped feature. More...
|
| |
| std::shared_ptr< ModelAPI_Feature > | feature () const |
| | Return ModelAPI_Feature. More...
|
| |
| std::shared_ptr< ModelHighAPI_Interface > | subFeature (const int theIndex) const |
| | If feature is composite return intefrace for sub-feature by zero-based index, or empty pointer if feature not composite or does not have sub-feature with such index. More...
|
| |
| const std::string & | getKind () const |
| | Shortcut for feature()->getKind() More...
|
| |
| void | execute (bool isForce=false) |
| | Shortcut for feature()->execute() More...
|
| |
| void | setName (const std::wstring &theName) |
| | Shortcut for feature()->data()->setName() More...
|
| |
| std::wstring | name () const |
| | Shortcut for feature()->data()->name() More...
|
| |
| virtual ModelHighAPI_Selection | result () const |
| | Return firts object of the feature. More...
|
| |
| virtual std::list< ModelHighAPI_Selection > | results () const |
| | Return all objects of the feature. More...
|
| |
| virtual std::shared_ptr< ModelAPI_Result > | defaultResult () const |
| | Return default result. Default implementation feature()->lastResult() More...
|
| |
| void | throwException (const std::string &theDescription) |
| | Throw exception to event loop. More...
|
| |
| const std::string & | attributeGetter (const std::string &theAttrName) |
| | Return name of getter for specified attribute. More...
|
| |
| virtual ListOfShape | vertices (const bool theOnlyUnique=false) |
| | Returns all the vertices produced by this feature. More...
|
| |
| virtual ListOfShape | edges (const bool theOnlyUnique=false) |
| | Returns all the edges produced by this feature. More...
|
| |
| virtual ListOfShape | wires (const bool theOnlyUnique=false) |
| | Returns all the wires produced by this feature. More...
|
| |
| virtual ListOfShape | faces (const bool theOnlyUnique=false) |
| | Returns all the faces produced by this feature. More...
|
| |
| virtual ListOfShape | shells (const bool theOnlyUnique=false) |
| | Returns all the shells produced by this feature. More...
|
| |
| virtual ListOfShape | solids (const bool theOnlyUnique=false) |
| | Returns all the solids produced by this feature. More...
|
| |
Interface for primitive Box feature.