• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kig

  • sources
  • kde-4.12
  • kdeedu
  • kig
  • misc
Classes | Functions
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
 

Functions

const CubicCartesianData calcCubicCuspThroughPoints (const std::vector< Coordinate > &points)
 
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 calcCubicNodeThroughPoints (const std::vector< Coordinate > &points)
 
const CubicCartesianData calcCubicThroughPoints (const std::vector< Coordinate > &points)
 
const CubicCartesianData calcCubicTransformation (const CubicCartesianData &data, const Transformation &t, bool &valid)
 
double calcCubicYvalue (double x, double ymin, double ymax, int root, CubicCartesianData data, bool &valid, int &numroots)
 
bool operator== (const CubicCartesianData &lhs, const CubicCartesianData &rhs)
 

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.

This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kig

Skip menu "kig"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal