C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2
alg_curve_delete_part.h File Reference

Operations with a curve in two-dimensional space. Deletion of a curve piece. More...

#include <curve.h>
#include <templ_s_list.h>

Functions

MbeState DeleteCurvePart (List< MbCurve > &curveList, const MbCartPoint &pnt, MbCurve *curve, MbCurve *&part2)
 Delete the piece of a curve. More...
 
MbeState DeleteCurvePart (const MbCartPoint &p1, const MbCartPoint &p2, const MbCartPoint &p3, MbCurve *curve, MbCurve *&part2)
 Delete the piece of a curve. More...
 
MbeState TrimmCurvePart (List< MbCurve > &curveList, const MbCartPoint &pnt, MbCurve *curve, MbCurve *&part2)
 Keep the piece of a curve. More...
 
MbeState TrimmCurvePart (const MbCartPoint &p1, const MbCartPoint &p2, const MbCartPoint &p3, MbCurve *curve, MbCurve *&part2)
 Keep the piece of a curve. More...
 
MbeState JustifyCurve (MbCurve *curve, const MbCurve *limitCurve, const MbCartPoint &pnt, MbCurve *&part2)
 Justify the curve. More...
 
MbeLocation PointLocation (const RPArray< const MbCurve > &limits, const MbCartPoint &pnt)
 The position of the point. More...
 
MbeState BreakByClosedCurves (MbCurve &curve, const RPArray< const MbCurve > &limits, bool inside, PArray< MbCurve > &part2, SArray< MbCrossPoint > *cross=nullptr, bool *isEqualCurve=nullptr, bool cutOnCurve=false)
 Exclude the piece of a curve. More...
 
MbeState BreakByCurvesArr (MbCurve &curve, const RPArray< const MbCurve > &limits, PArray< MbCurve > &part2)
 Exclude the piece of a curve. More...
 
MbeState BreakCurve (MbCurve &curve, const MbCartPoint &p1, const MbCartPoint &p2, PArray< MbCurve > &part2)
 Split the curve. More...
 
MbeState BreakCurveNParts (MbCurve &curve, ptrdiff_t partsCount, const MbCartPoint &p1, PArray< MbCurve > &part2)
 Split the curve. More...
 
MbeState ExtendCurveToCurve (MbCurve *curve, const MbCurve *limitCurve, const MbCartPoint &pnt)
 Extend the curve. More...
 

Detailed Description

Operations with a curve in two-dimensional space. Deletion of a curve piece.