20 #ifndef GeomAlgoAPI_Offset_H_
21 #define GeomAlgoAPI_Offset_H_
23 #include <GeomAlgoAPI.h>
24 #include <GeomAlgoAPI_MakeShape.h>
36 enum class GeomAlgoAPI_OffsetJoint { KeepDistance, Arcs, Lines };
48 const double theOffsetValue);
55 (
const GeomShapePtr& theShape,
56 const double theOffsetValue,
57 const bool isPipeJoint);
64 (
const GeomShapePtr& theShape,
65 const ListOfShape& theFaces,
66 const double theOffsetValue);
74 (
const std::shared_ptr<GeomAPI_Pln>& thePlane,
75 const GeomShapePtr& theEdgeOrWire,
76 const double theOffsetValue,
77 const GeomAlgoAPI_OffsetJoint theJoint = GeomAlgoAPI_OffsetJoint::KeepDistance,
78 const bool theIsApprox =
false);
83 GEOMALGOAPI_EXPORT
virtual void generated(
const GeomShapePtr theOldShape,
84 ListOfShape& theNewShapes);
88 void buildSimple(
const GeomShapePtr& theShape,
89 const double theOffsetValue);
92 void buildByJoin(
const GeomShapePtr& theShape,
93 const double theOffsetValue,
94 const bool isPipeJoint);
97 void buildPartial(
const GeomShapePtr& theShape,
98 const ListOfShape& theFaces,
99 const double theOffsetValue);
102 void build2d(
const std::shared_ptr<GeomAPI_Pln>& thePlane,
103 const GeomShapePtr& theEdgeOrWire,
104 const double theOffsetValue,
105 const GeomAlgoAPI_OffsetJoint theJoint = GeomAlgoAPI_OffsetJoint::KeepDistance,
106 const bool theIsApprox =
false);
\Plane in 3D place, defined by normal, center and x-direction.
Definition: GeomAPI_Pln.h:38
Interface to the root class of all topological shapes constructions.
Definition: GeomAlgoAPI_MakeShape.h:35
Perform 3D offset for the shape.
Definition: GeomAlgoAPI_Offset.h:42
virtual GEOMALGOAPI_EXPORT void generated(const GeomShapePtr theOldShape, ListOfShape &theNewShapes)
Definition: GeomAlgoAPI_Offset.cpp:63
GEOMALGOAPI_EXPORT GeomAlgoAPI_Offset(const GeomShapePtr &theShape, const double theOffsetValue)
Perform simple offset.
Definition: GeomAlgoAPI_Offset.cpp:34