Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

Public Member Functions | Private Attributes

Geom::D2< Interval > Class Template Reference

#include <rect.h>

Collaboration diagram for Geom::D2< Interval >:
Collaboration graph

List of all members.

Public Member Functions

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

Private Attributes

Interval f [2]

Detailed Description

class Geom::D2< Interval >

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

Definition at line 60 of file rect.h.

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

Generated by  Doxygen 1.6.0   Back to index