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;
59 virtual bool containsPoint(
const Coordinate& p,
const KigDocument& )
const = 0;
This class represents a curve: something which is composed of points, like a line,...
Definition: curve_imp.h:27
The Object class represents the behaviour of an object after it is calculated.
Definition: object_imp.h:218
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:88
Coordinate attachPoint() const
Returns a reference point where to attach labels; when this returns an invalidCoord then the attachme...
The Coordinate class is the basic class representing a 2D location by its x and y components.
Definition: coordinate.h:33
static const ObjectType * stype()
Returns the ObjectType representing the Curve type.
This file is part of the documentation for tdelibs .
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Feb 5 2025 06:12:02 by
doxygen 1.8.17 written by
Dimitri van Heesch, © 1997-2001