Logo Search packages:      
Sourcecode: inkscape version File versions

NR::Point Class Reference

#include <nr-point.h>

List of all members.


Detailed Description

Cartesian point.

Definition at line 31 of file nr-point.h.


Public Member Functions

Point ccw () const
Point cw () const
void normalize ()
Pointoperator*= (Matrix const &m)
Pointoperator*= (double const s)
Pointoperator+= (Point const &o)
Pointoperator-= (Point const &o)
Pointoperator/= (double const s)
Pointoperator= (Point const &p)
int operator== (const Point &in_pnt)
Coordoperator[] (Dim2 d) throw ()
Coord operator[] (Dim2 d) const throw ()
Coordoperator[] (unsigned i)
Coord operator[] (unsigned i) const
 Point (Point const &p)
 Point (NRPoint const &p)
 Point (Coord x, Coord y)
void round (int places=0)
 A function to lower the precision of the point.

Private Attributes

Coord _pt [2]

Friends

std::ostream & operator<< (std::ostream &out_file, const NR::Point &in_pnt)

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index