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

kstars

Public Member Functions | Public Attributes | Friends | List of all members
Vector Class Reference

#include <vect.h>

Public Member Functions

 Vector ()
 
 Vector (double v)
 
 Vector (const Vector &v)
 
 Vector (double vx, double vy, double vz)
 
 ~Vector ()
 
double operator! () const
 
Vector & operator*= (const Vector &)
 
Vector & operator*= (double)
 
Vector & operator+= (const Vector &)
 
Vector operator- () const
 
Vector & operator-= (const Vector &)
 
Vector & operator/= (double)
 
int operator< (double v)
 
Vector & operator= (const Vector &v)
 
Vector & operator= (double f)
 
int operator> (double v)
 
double & operator[] (int n)
 

Public Attributes

double x
 
double y
 
double z
 

Friends

double operator& (const Vector &u, const Vector &v)
 
Vector operator* (const Vector &, const Vector &)
 
Vector operator* (double, const Vector &)
 
Vector operator* (const Vector &, double)
 
Vector operator+ (const Vector &, const Vector &)
 
Vector operator- (const Vector &, const Vector &)
 
Vector operator/ (const Vector &, double)
 
Vector operator/ (const Vector &, const Vector &)
 
Vector operator^ (const Vector &, const Vector &)
 

Detailed Description

Definition at line 18 of file vect.h.

Constructor & Destructor Documentation

Vector::Vector ( )
inline

Definition at line 22 of file vect.h.

Vector::Vector ( double  v)
inlineexplicit

Definition at line 23 of file vect.h.

Vector::Vector ( const Vector &  v)
inline

Definition at line 24 of file vect.h.

Vector::Vector ( double  vx,
double  vy,
double  vz 
)
inline

Definition at line 25 of file vect.h.

Vector::~Vector ( )
inline

Definition at line 26 of file vect.h.

Member Function Documentation

double Vector::operator! ( ) const
inline

Definition at line 55 of file vect.h.

Vector & Vector::operator*= ( const Vector &  v)
inline

Definition at line 141 of file vect.h.

Vector & Vector::operator*= ( double  v)
inline

Definition at line 133 of file vect.h.

Vector & Vector::operator+= ( const Vector &  v)
inline

Definition at line 117 of file vect.h.

Vector Vector::operator- ( ) const
inline

Definition at line 77 of file vect.h.

Vector & Vector::operator-= ( const Vector &  v)
inline

Definition at line 125 of file vect.h.

Vector & Vector::operator/= ( double  v)
inline

Definition at line 149 of file vect.h.

int Vector::operator< ( double  v)
inline

Definition at line 57 of file vect.h.

Vector& Vector::operator= ( const Vector &  v)
inline

Definition at line 28 of file vect.h.

Vector& Vector::operator= ( double  f)
inline

Definition at line 33 of file vect.h.

int Vector::operator> ( double  v)
inline

Definition at line 58 of file vect.h.

double& Vector::operator[] ( int  n)
inline

Definition at line 56 of file vect.h.

Friends And Related Function Documentation

double operator& ( const Vector &  u,
const Vector &  v 
)
friend

Definition at line 50 of file vect.h.

Vector operator* ( const Vector &  u,
const Vector &  v 
)
friend

Definition at line 92 of file vect.h.

Vector operator* ( double  f,
const Vector &  v 
)
friend

Definition at line 102 of file vect.h.

Vector operator* ( const Vector &  u,
double  f 
)
friend

Definition at line 97 of file vect.h.

Vector operator+ ( const Vector &  u,
const Vector &  v 
)
friend

Definition at line 82 of file vect.h.

Vector operator- ( const Vector &  u,
const Vector &  v 
)
friend

Definition at line 87 of file vect.h.

Vector operator/ ( const Vector &  v,
double  f 
)
friend

Definition at line 107 of file vect.h.

Vector operator/ ( const Vector &  u,
const Vector &  v 
)
friend

Definition at line 112 of file vect.h.

Vector operator^ ( const Vector &  u,
const Vector &  v 
)
friend

Definition at line 21 of file vect.cpp.

Member Data Documentation

double Vector::x

Definition at line 21 of file vect.h.

double Vector::y

Definition at line 21 of file vect.h.

double Vector::z

Definition at line 21 of file vect.h.


The documentation for this class was generated from the following file:
  • vect.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:23 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kstars

Skip menu "kstars"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

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