Logo Search packages:      
Sourcecode: inkscape version File versions

Geom::D2< Interval > Class Template Reference

#include <rect.h>

List of all members.


Detailed Description

template<>
class Geom::D2< Interval >

Rect class. The Rect class is actually a specialisation of D2<Interval>.

Definition at line 60 of file rect.h.


Public Member Functions

double area () const
 Compute the area of this rectangle.
double area () const
 Compute the area of this rectangle.
double bottom () const
double bottom () const
bool contains (Point const &p) const
bool contains (Rect const &r) const
bool contains (Point const &p) const
bool contains (Rect const &r) const
Point corner (unsigned i) const
Point corner (unsigned i) const
 D2 (Point const &a, Point const &b)
 D2 (Interval const &a, Interval const &b)
 D2 ()
 D2 (Point const &a, Point const &b)
 D2 (Interval const &a, Interval const &b)
 D2 ()
Point dimensions () const
Point dimensions () const
void expandBy (Point const p)
void expandBy (double amnt)
void expandBy (Point const p)
void expandBy (double amnt)
void expandTo (Point p)
void expandTo (Point p)
bool hasZeroArea (double eps=EPSILON) const
bool hasZeroArea (double eps=EPSILON) const
double height () const
double height () const
bool intersects (Rect const &r) const
bool intersects (Rect const &r) const
double left () const
double left () const
Point max () const
Point max () const
double maxExtent () const
double maxExtent () const
Point midpoint () const
Point midpoint () const
Point min () const
Point min () const
double minExtent () const
double minExtent () const
Interval const & operator[] (unsigned i) const
Intervaloperator[] (unsigned i)
Interval const & operator[] (unsigned i) const
Intervaloperator[] (unsigned i)
double right () const
double right () const
double top () const
double top () const
void unionWith (OptRect const &b)
void unionWith (Rect const &b)
void unionWith (OptRect const &b)
void unionWith (Rect const &b)
double width () const
double width () const

Private Attributes

Interval f [2]

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

Generated by  Doxygen 1.6.0   Back to index