kig
ConicCartesianData Class Reference
#include <conic-common.h>
Detailed Description
Cartesian Conic Data.This class represents an equation of a conic in the form "ax^2 + by^2 + cxy + dx + ey + f = 0".
For internal use only.
The coefficients are stored in the order a - f.
Definition at line 37 of file conic-common.h.
Public Member Functions | |
| ConicCartesianData (const double incoeffs[6]) | |
| ConicCartesianData (double a, double b, double c, double d, double e, double f) | |
| ConicCartesianData (const ConicPolarData &d) | |
| ConicCartesianData () | |
| bool | valid () const |
Static Public Member Functions | |
| static ConicCartesianData | invalidData () |
Public Attributes | |
| double | coeffs [6] |
Constructor & Destructor Documentation
| ConicCartesianData::ConicCartesianData | ( | ) |
Definition at line 867 of file conic-common.cpp.
| ConicCartesianData::ConicCartesianData | ( | const ConicPolarData & | polardata | ) | [explicit] |
Construct a ConicCartesianData from a ConicPolarData.
This file is part of Kig, a KDE program for Interactive Geometry.
Construct a ConicCartesianData that is the cartesian representation of the conic represented by d.
.. Copyright (C) 2002 Maurizio Paolini <paolini@dmf.unicatt.it>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Definition at line 37 of file conic-common.cpp.
| ConicCartesianData::ConicCartesianData | ( | double | a, | |
| double | b, | |||
| double | c, | |||
| double | d, | |||
| double | e, | |||
| double | f | |||
| ) | [inline] |
Construct a ConicCartesianData from its coefficients Construct a ConicCartesianData using the coefficients a through f from the equation "ax^2 + by^2 + cxy + dx + ey + f = 0".
Definition at line 53 of file conic-common.h.
| ConicCartesianData::ConicCartesianData | ( | const double | incoeffs[6] | ) |
Definition at line 458 of file conic-common.cpp.
Member Function Documentation
| ConicCartesianData ConicCartesianData::invalidData | ( | ) | [static] |
Invalid conic.
Return a ConicCartesianData representing an invalid conic.
- See also:
- valid()
Definition at line 879 of file conic-common.cpp.
| bool ConicCartesianData::valid | ( | ) | const |
Test validity.
Return whether this is a valid conic.
- See also:
- invalidData()
Definition at line 886 of file conic-common.cpp.
Member Data Documentation
| double ConicCartesianData::coeffs[6] |
Definition at line 40 of file conic-common.h.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference