kig
cubic-common.h File Reference
#include "common.h"
Include dependency graph for cubic-common.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| class | CubicCartesianData |
This class represents an equation of a cubic in the form (in homogeneous coordinates, ), . More... | |
Functions | |
| bool | operator== (const CubicCartesianData &lhs, const CubicCartesianData &rhs) |
| const CubicCartesianData | calcCubicThroughPoints (const std::vector< Coordinate > &points) |
| const CubicCartesianData | calcCubicCuspThroughPoints (const std::vector< Coordinate > &points) |
| const CubicCartesianData | calcCubicNodeThroughPoints (const std::vector< Coordinate > &points) |
| double | calcCubicYvalue (double x, double ymin, double ymax, int root, CubicCartesianData data, bool &valid, int &numroots) |
| const Coordinate | calcCubicLineIntersect (const CubicCartesianData &c, const LineData &l, int root, bool &valid) |
| void | calcCubicLineRestriction (CubicCartesianData data, Coordinate p1, Coordinate dir, double &a, double &b, double &c, double &d) |
| const CubicCartesianData | calcCubicTransformation (const CubicCartesianData &data, const Transformation &t, bool &valid) |
Function Documentation
| const CubicCartesianData calcCubicCuspThroughPoints | ( | const std::vector< Coordinate > & | points | ) |
Definition at line 153 of file cubic-common.cc.
| const Coordinate calcCubicLineIntersect | ( | const CubicCartesianData & | c, | |
| const LineData & | l, | |||
| int | root, | |||
| bool & | valid | |||
| ) |
Definition at line 375 of file cubic-common.cc.
| void calcCubicLineRestriction | ( | CubicCartesianData | data, | |
| Coordinate | p1, | |||
| Coordinate | dir, | |||
| double & | a, | |||
| double & | b, | |||
| double & | c, | |||
| double & | d | |||
| ) |
Definition at line 395 of file cubic-common.cc.
| const CubicCartesianData calcCubicNodeThroughPoints | ( | const std::vector< Coordinate > & | points | ) |
Definition at line 247 of file cubic-common.cc.
| const CubicCartesianData calcCubicThroughPoints | ( | const std::vector< Coordinate > & | points | ) |
This function calcs a cartesian cubic equation such that the given points are on the cubic.
There can be at most 9 and at least 2 point. If there are less than 9, than the coefficients will be chosen to 1.0 if possible
Definition at line 58 of file cubic-common.cc.
| const CubicCartesianData calcCubicTransformation | ( | const CubicCartesianData & | data, | |
| const Transformation & | t, | |||
| bool & | valid | |||
| ) |
Definition at line 438 of file cubic-common.cc.
| double calcCubicYvalue | ( | double | x, | |
| double | ymin, | |||
| double | ymax, | |||
| int | root, | |||
| CubicCartesianData | data, | |||
| bool & | valid, | |||
| int & | numroots | |||
| ) |
Definition at line 345 of file cubic-common.cc.
| bool operator== | ( | const CubicCartesianData & | lhs, | |
| const CubicCartesianData & | rhs | |||
| ) |
Definition at line 524 of file cubic-common.cc.
KDE 4.0 API Reference
(in homogeneous coordinates,
),
.