18#ifndef KIG_OBJECTS_CURVE_IMP_H
19#define KIG_OBJECTS_CURVE_IMP_H
21#include "object_imp.h"
36 static const ObjectImpType*
stype();
44 virtual double getParam(
const Coordinate& point,
const KigDocument& )
const = 0;
49 virtual const Coordinate getPoint(
double param,
const KigDocument& )
const = 0;
51 virtual CurveImp*
copy()
const = 0;
The Coordinate class is the basic class representing a 2D location by its x and y components.
Definition coordinate.h:34
This class represents a curve: something which is composed of points, like a line,...
Definition curve_imp.h:29
Coordinate attachPoint() const
Returns a reference point where to attach labels; when this returns an invalidCoord then the attachme...
static const ObjectType * stype()
Returns the ObjectType representing the Curve type.
virtual bool containsPoint(const Coordinate &p, const KigDocument &) const =0
Return whether this Curve contains the given point.
virtual Curve * copy() const =0
Returns a copy of this Object.
Instances of this class represent a certain Object type.
Definition object_imp.h:89
The Object class represents the behaviour of an object after it is calculated.
Definition object_imp.h:219