ConicCart Class Reference (Kig Python Scripting API)

| # Kig Python Scripting API Documentation
Overview | Class Hierarchy | Classes | Classes (annotated) | Members

Public Member Functions | List of all members
ConicCart Class Reference

An implementation of Conic to be used when only the cartesian equation of the conic is known. More...

`#include <conic_imp.h>`

Inheritance diagram for ConicCart:
[legend]
Collaboration diagram for ConicCart:
[legend]

## Public Member Functions
ConicCart * | copy () const
| Returns a copy of this Object.
const ConicCartesianData | cartesianData () const
| Return the cartesian representation of this conic.
const ConicPolarData | polarData () const
| Return the polar representation of this conic.
Public Member Functions inherited from Conic
Object * | transform (const Transformation &) const
| Return this Object, transformed by the transformation t.
virtual int | conicType () const
| Type of conic.
virtual TQString | conicTypeString () const
| A string containing "Hyperbola", "Parabola" or "Ellipse".
virtual TQString | cartesianEquationString (const KigDocument &w) const
| A string containing the cartesian equation of the conic.
virtual TQString | polarEquationString (const KigDocument &w) const
| A string containing the polar equation of the conic.
virtual Coordinate | focus1 () const
| Return the first focus of this conic.
virtual Coordinate | focus2 () const
| Return the second focus of this conic.
const ObjectType * | type () const
| Returns the lowermost ObjectType that this object is an instantiation of.
bool | equals (const Object &rhs) const
| Returns true if this Object is equal to rhs.
bool | containsPoint (const Coordinate &p, const KigDocument &doc) const
| Return whether this Curve contains the given point.
Public Member Functions inherited from Curve
Coordinate | attachPoint () const
| Returns a reference point where to attach labels; when this returns an invalidCoord then the attachment is either not done at all, or done in a specific way (like for curves, or for points) The treatment of points could also take advantage of this attachment mechanism.
Public Member Functions inherited from Object
bool | inherits (const ObjectType *t) const
| Returns true if this Object inherits the Object type represented by t.
bool | valid () const
| Returns true if this is a valid Object.

## Additional Inherited Members
Static Public Member Functions inherited from Conic
static const ObjectType * | stype ()
| Returns the ObjectType representing the Conic type.
Static Public Member Functions inherited from Curve
static const ObjectType * | stype ()
| Returns the ObjectType representing the Curve type.
Static Public Member Functions inherited from Object
static const ObjectType * | stype ()
| The ObjectType representing the base Object class.

## Detailed Description

An implementation of Conic to be used when only the cartesian equation of the conic is known.

## Member Function Documentation

## ◆ copy()

ConicCart * ConicCart::copy | ( |  | ) | const
| virtual

Returns a copy of this Object.

The copy is an exact copy. Changes to the copy don't affect the original.

Implements Curve.

This file is part of the documentation for tdelibs .
Documentation copyright © 1996-2002 the KDE developers.
Generated on by doxygen 1.16.1 written by Dimitri van Heesch, © 1997-2001