|
AMCAX_API | MakeFillet (const TopoShape &s, FilletShapeType fiShape=FilletShapeType::Rational) |
| Initialize the algorithm by setting a given shape and the type of fillet. More...
|
|
AMCAX_API void | SetParams (double tolang, double tolesp, double tol2d, double tolApp3d, double tolApp2d, double fleche) |
| Set the tolerance parameters. More...
|
|
AMCAX_API void | SetContinuity (ContinuityType internalContinuity, double angularTolerance) |
| Set the continuity and tolerace. More...
|
|
AMCAX_API void | Add (const TopoEdge &e) override |
| Add an edge to the fillet. More...
|
|
AMCAX_API void | Add (double r, const TopoEdge &e) |
| Add an edge with a radius to the fillet. More...
|
|
AMCAX_API void | Add (double r1, double r2, const TopoEdge &e) |
| Add an edge with a linear varying radius. More...
|
|
AMCAX_API void | Add (const std::vector< Point2 > &UandR, const TopoEdge &e) |
| Add an edge with a varying radius control by the parameter-radius pairs. More...
|
|
AMCAX_API void | SetRadius (double r, int ic, int idxInSpine) |
| Set the radius of the contour at given index. More...
|
|
AMCAX_API void | SetRadius (double r1, double r2, int ic, int idxInSpine) |
| Set the linear varying radius of the contour at given index. More...
|
|
AMCAX_API void | SetRadius (const std::vector< Point2 > &UandR, int ic, int idxInSpine) |
| Set the radius of the contour at a given index with parameter-radius pairs. More...
|
|
AMCAX_API void | ResetContour (int ic) override |
| Reset the contour at a given index. More...
|
|
AMCAX_API bool | IsConstant (int ic) |
| Is the contour has a constant radius. More...
|
|
AMCAX_API double | Radius (int ic) |
| Get the radius of the contour at a given index. More...
|
|
AMCAX_API bool | IsConstant (int ic, const TopoEdge &e) |
| Is the edge in a contour has a constant radius. More...
|
|
AMCAX_API double | Radius (int ic, const TopoEdge &e) |
| Get the radius of edge in the contour of given index. More...
|
|
AMCAX_API void | SetRadius (double radius, int ic, const TopoEdge &e) |
| Set the radius of edge in the contour of given index. More...
|
|
AMCAX_API void | SetRadius (double radius, int ic, const TopoVertex &v) |
| Set the radius of a vertex in the contour of given index. More...
|
|
AMCAX_API bool | GetBounds (int ic, const TopoEdge &e, double &f, double &l) |
| Get the radius bounds of the radius of an edge in a contour. More...
|
|
AMCAX_API void | SetFilletShape (FilletShapeType fShape) |
| Set the type of fillet shape. More...
|
|
AMCAX_API FilletShapeType | GetFilletShape () const |
| Get the type of fillet shape. More...
|
|
AMCAX_API int | NContours () const override |
| Get the number of contours. More...
|
|
AMCAX_API int | Contour (const TopoEdge &e) const override |
| Get the index of contour that contains a given edge, if the edge does not belong to any contour, return -1. More...
|
|
AMCAX_API int | NEdges (int i) const override |
| Get the number of edges in the i-th contour. More...
|
|
AMCAX_API const TopoEdge & | Edge (int i, int j) const override |
| Get the j-th edge in the i-th contour. More...
|
|
AMCAX_API void | Remove (const TopoEdge &e) override |
| Remove the contour containing a given edge. More...
|
|
AMCAX_API double | Length (int ic) const override |
| Get the length of the i-th contour. More...
|
|
AMCAX_API TopoVertex | FirstVertex (int ic) const override |
| Get the first vertex of the i-th contour. More...
|
|
AMCAX_API TopoVertex | LastVertex (int ic) const override |
| Get the last vertex of the i-th contour. More...
|
|
AMCAX_API double | Abscissa (int ic, const TopoVertex &v) const override |
| Get the abscissa of a vertex on the i-th contour. More...
|
|
AMCAX_API double | RelativeAbscissa (int ic, const TopoVertex &v) const override |
| Get the relative abscissa of a vertex on the i-th contour, range in [0, 1]. More...
|
|
AMCAX_API bool | ClosedAndTangent (int ic) const override |
| Get the status that whether the i-th contour is closed and tangent. More...
|
|
AMCAX_API bool | Closed (int ic) const override |
| Get the status that whether the i-th contour is closed. More...
|
|
AMCAX_API void | Build () override |
| Perform the algorithm. More...
|
|
AMCAX_API void | Reset () override |
| Reset the building state. More...
|
|
AMCAX_API const std::list< TopoShape > & | Generated (const TopoShape &s) override |
| Get the shapes generated from the given shape. More...
|
|
AMCAX_API const std::list< TopoShape > & | Modified (const TopoShape &s) override |
| Get the shapes modified from the given shape. More...
|
|
AMCAX_API bool | IsDeleted (const TopoShape &s) override |
| Is the given shape deleted. More...
|
|
AMCAX_API int | NSurfaces () const |
| Get the number of generated surfaces of the fillet. More...
|
|
AMCAX_API const std::list< TopoShape > & | NewFaces (int i) |
| Get the faces for the surface of a given index. More...
|
|
AMCAX_API void | Simulate (int ic) override |
| Simulate the i-th contour computation for fast preview. More...
|
|
AMCAX_API int | NSurf (int ic) const override |
| Get the number of surfaces in the i-th contour. More...
|
|
AMCAX_API int | NFaultyContours () const |
| Get the number of contours failed to perform fillet. More...
|
|
AMCAX_API int | FaultyContour (int i) const |
| Get the contour failed to perform fillet at a given index. More...
|
|
AMCAX_API int | NComputedSurfaces (int ic) const |
| Get the number of computed surfaces on the given index of contour. More...
|
|
AMCAX_API std::shared_ptr< Geom3Surface > | ComputedSurface (int ic, int isurf) const |
| Get the computed surface of given index. More...
|
|
AMCAX_API int | NFaultyVertices () const |
| Get the number of vertices failed to perform fillet. More...
|
|
AMCAX_API TopoVertex | FaultyVertex (int iv) const |
| Get the vertex failed to perform fillet of a given index. More...
|
|
AMCAX_API bool | HasResult () const |
| Are some partial results generated. More...
|
|
AMCAX_API TopoShape | BadShape () const |
| Get the bad partial result. More...
|
|
AMCAX_API ChamferFilletErrorStatus | StripeStatus (int ic) const |
| Get the error status of the contour of given index. More...
|
|
virtual AMCAX_API void | Add (const TopoEdge &e)=0 |
| Add an edge and build a contour. More...
|
|
virtual AMCAX_API void | ResetContour (int i)=0 |
| Reset the i-th contour. More...
|
|
virtual AMCAX_API int | NContours () const =0 |
| Get the number of contours. More...
|
|
virtual AMCAX_API int | Contour (const TopoEdge &e) const =0 |
| Get the index of contour that contains a given edge, if the edge does not belong to any contour, return -1. More...
|
|
virtual AMCAX_API int | NEdges (int i) const =0 |
| Get the number of edges in the i-th contour. More...
|
|
virtual AMCAX_API const TopoEdge & | Edge (int i, int j) const =0 |
| Get the j-th edge in the i-th contour. More...
|
|
virtual AMCAX_API void | Remove (const TopoEdge &e)=0 |
| Remove the contour containing a given edge. More...
|
|
virtual AMCAX_API double | Length (int i) const =0 |
| Get the length of the i-th contour. More...
|
|
virtual AMCAX_API TopoVertex | FirstVertex (int i) const =0 |
| Get the first vertex of the i-th contour. More...
|
|
virtual AMCAX_API TopoVertex | LastVertex (int i) const =0 |
| Get the last vertex of the i-th contour. More...
|
|
virtual AMCAX_API double | Abscissa (int i, const TopoVertex &v) const =0 |
| Get the abscissa of a vertex on the i-th contour. More...
|
|
virtual AMCAX_API double | RelativeAbscissa (int i, const TopoVertex &v) const =0 |
| Get the relative abscissa of a vertex on the i-th contour, range in [0, 1]. More...
|
|
virtual AMCAX_API bool | ClosedAndTangent (int i) const =0 |
| Get the status that whether the i-th contour is closed and tangent. More...
|
|
virtual AMCAX_API bool | Closed (int i) const =0 |
| Get the status that whether the i-th contour is closed. More...
|
|
virtual AMCAX_API void | Reset ()=0 |
| Reset the building state. More...
|
|
virtual AMCAX_API void | Simulate (int i)=0 |
| Simulate the i-th contour computation for fast preview. More...
|
|
virtual AMCAX_API int | NSurf (int i) const =0 |
| Get the number of surfaces in the i-th contour. More...
|
|
virtual | ~MakeShape ()=default |
| Destructor.
|
|
virtual AMCAX_API bool | IsDone () const |
| Is the construction algorithm done. More...
|
|
virtual AMCAX_API void | Build () |
| Perform the algorithm. More...
|
|
virtual AMCAX_API const TopoShape & | Shape () |
| Get the resulting shape. More...
|
|
AMCAX_API | operator TopoShape () |
| Get the resulting shape. More...
|
|
virtual AMCAX_API const std::list< TopoShape > & | Generated (const TopoShape &s) |
| Get the shapes generated from the given shape. More...
|
|
virtual AMCAX_API const std::list< TopoShape > & | Modified (const TopoShape &s) |
| Get the shapes modified from the given shape. More...
|
|
virtual AMCAX_API bool | IsDeleted (const TopoShape &s) |
| Is the given shape deleted. More...
|
|