Kig Python Scripting API Documentation

Public Member Functions | List of all members
ConicPolar Class Reference

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

Inheritance diagram for ConicPolar:
Inheritance graph
[legend]
Collaboration diagram for ConicPolar:
Collaboration graph
[legend]

Public Member Functions

ConicPolarcopy () const
 Returns a copy of this Object. More...
 
const ConicPolarData polarData () const
 Return the polar representation of this conic.
 
- Public Member Functions inherited from Conic
Objecttransform (const Transformation &) const
 Return this Object, transformed by the transformation t.
 
virtual int conicType () const
 Type of conic. More...
 
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. More...
 
virtual TQString polarEquationString (const KigDocument &w) const
 A string containing the polar equation of the conic. More...
 
virtual const ConicCartesianData cartesianData () const
 Return the cartesian representation of this conic.
 
virtual Coordinate focus1 () const
 Return the first focus of this conic.
 
virtual Coordinate focus2 () const
 Return the second focus of this conic.
 
const ObjectTypetype () const
 Returns the lowermost ObjectType that this object is an instantiation of. More...
 
bool equals (const Object &rhs) const
 Returns true if this Object is equal to rhs. More...
 
bool containsPoint (const Coordinate &p, const KigDocument &doc) const
 Return whether this Curve contains the given point. More...
 
- 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. More...
 
- Public Member Functions inherited from Object
bool inherits (const ObjectType *t) const
 Returns true if this Object inherits the Object type represented by t. More...
 
bool valid () const
 Returns true if this is a valid Object. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Conic
static const ObjectTypestype ()
 Returns the ObjectType representing the Conic type.
 
- Static Public Member Functions inherited from Curve
static const ObjectTypestype ()
 Returns the ObjectType representing the Curve type.
 
- Static Public Member Functions inherited from Object
static const ObjectTypestype ()
 The ObjectType representing the base Object class. More...
 

Detailed Description

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

Member Function Documentation

◆ copy()

ConicPolar* ConicPolar::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.

KDE Logo
This file is part of the documentation for tdelibs .
Documentation copyright © 1996-2002 the KDE developers.
Generated on Tue Feb 25 2025 13:46:37 by doxygen 1.8.13 written by Dimitri van Heesch, © 1997-2001