24 Spline(
const std::vector<Coordinate> &control_points,
28 double stanx,
double stany,
double stanz,
29 double etanx,
double etany,
double etanz,
65 const std::vector<Coordinate> &
fitPoints()
const;
100 const std::vector<BB_CSPtr>
beziers()
const;
const std::vector< Coordinate > _controlPoints
short degree() const
degree, Returns degree of spline
std::vector< BB_CSPtr > _beziers
double fitTolerance() const
Returns the fit point tolerance of the spline.
Spline(const std::vector< Coordinate > &control_points, const std::vector< double > &knotPoints, const std::vector< Coordinate > &fitPoints, int degree, bool closed, double fitTolerance, double stanx, double stany, double stanz, double etanx, double etany, double etanz, double nx, double ny, double nz, splineflag flags)
void populateCurve()
Fills the opennurbs curve with the data from spline constructor.
void trimAtPoint(const geo::Coordinate &c)
const double _fitTolerance
Coordinate nearestPointOnEntity(const Coordinate &coord) const
returns the nearest Point On Entity itself.
const std::vector< Coordinate > _fitPoints
bool closed() const
closed, returns if spline is closed or not
const std::vector< BB_CSPtr > beziers() const
virtual void accept(GeoEntityVisitor &v) const override
Coordinate nearestPointOnPath(const Coordinate &coord) const
returns the nearest Point On Path
const std::vector< double > & knotPoints() const
Return a vector of knotpoints.
const std::vector< Coordinate > & fitPoints() const
Return a vector of fitpoints.
const std::vector< Coordinate > & controlPoints() const
control_points, Returns Control points of spline
const std::vector< double > _knotPoints