3 #ifndef U3D_BSPL3_CURVE3D_
4 #define U3D_BSPL3_CURVE3D_
6 #include <u3d_bspl3_family.hpp>
90 std::vector<Bspl3dCurve>
m_bspls;
123 U3dPoint &dev,
double &smx,
double &smy,
double &smz) {
125 if (dev.
getX() > smx)
127 if (dev.
getY() > smy)
129 if (dev.
getZ() > smz)
135 void next_segment (
double p1,
double p2, std::vector<double> &segs);
int getControlPointsNum() const
Definition: u3d_bspl3_curve3d.hpp:12
bool m_is_ready
Definition: u3d_bspl3_curve3d.hpp:139
bool getCurvature(double p, double &c)
bool get_line_distance(double pp, int nn, U3dPoint kP, U3dPoint bP, double p1, U3dPoint &dist) const
bool getLineSegments(double ds, std::vector< double > &segs) const
bool getLineDeviations(double p1, double p2, double p, U3dPoint &dev) const
U3dBspl3Curve3d(const U3dBspl3AbstractMatrix &bm)
bool getXYZp(double p, U3dPoint &point) const
double getZ() const
Definition: u3d_point.hpp:141
Definition: u3d_bspl3_primitives.hpp:11
Definition: geometry.H:16
void add(const U3dPoint &point, int id=-1)
U3dBspl3AbstractMatrix * m_bm
Definition: u3d_bspl3_curve3d.hpp:133
double getY() const
Definition: u3d_point.hpp:135
bool construct_isect_line(double p1, double p2, U3dPoint &kP, U3dPoint &bP) const
Definition: u3d_point.hpp:16
std::vector< Bspl3dCurve > m_bspls
Definition: u3d_bspl3_curve3d.hpp:130
U3dSimpleBspl3Curve * x
Definition: u3d_bspl3_curve3d.hpp:126
void devs_update(double p, int n, U3dPoint &kP, U3dPoint &bP, double p1, U3dPoint &dev, double &smx, double &smy, double &smz)
Definition: u3d_bspl3_curve3d.hpp:122
bool check_add_bps(const U3dPointsAr &ps)
static void find_element(double p, int n, int &nn, double &pp)
bool isReady() const
Definition: u3d_bspl3_curve3d.hpp:60
Definition: u3d_bspl3_matrices.hpp:24
void next_segment(double p1, double p2, std::vector< double > &segs)
bool getPoint(double p, U3dPoint &point) const
bool getXYZpp(double p, U3dPoint &point) const
U3dPointsAr m_ps
Definition: u3d_bspl3_curve3d.hpp:136
bool getMaxLineDeviation(double p1, double p2, double &md) const
double getX() const
Definition: u3d_point.hpp:129
bool getControlPoint(int ind, U3dPoint &point) const