geometric Namespace Reference

Contains all of our objects for geometry and avoids name clashes. More...


Classes

class  angle
 Represents a geometric angle. More...
class  double_angle
 double_angle provides a non-templated class for forward declarations. More...
class  cartesian_point
 Provides a geometric point that use double floating points numbers. More...
class  cartesian_line
 Provides a geometric line that use double floating points numbers. More...
class  cartesian_rectangle
 Provides a geometric rectangle that use double floating points numbers. More...
class  circle
class  ellipse
 Represents a geometric ellipse. More...
class  line
 Represents a geometric line segment. More...
class  point
 Represents a geometric point. More...
class  polygon
class  rectangle
 Represents a geometric rectangle. More...
class  screen_point
 a simple class used to describe points on a graphics screen. More...
class  screen_rectangle
 Represents a rectangle as interpreted on display screens. More...
class  triangle
 Represents a geometric triangle. More...
class  rectangle_warper

Typedefs

typedef rectangle< int > int_rectangle
 < A commonly used rectangle of integers.

Functions

cartesian_point origin ()
 the origin of the two-dimensional system.
 SAFE_STATIC_CONST (screen_point, screen_origin,(0, 0)) screen_rectangle
const screen_point GEOMETRIC_FUNCTION_STYLE & screen_origin ()
 the origin of the screen coordinate system (which is top-left here).


Detailed Description

Contains all of our objects for geometry and avoids name clashes.

The polygon is a list of points that are assumed to be connected. It will have as many sides as its point count minus one. Thus there is no valid polygon with less than three points. A function that tests whether a point is inside or outside the polygon is provided.


Typedef Documentation

typedef rectangle<int> geometric::int_rectangle

< A commonly used rectangle of integers.

Definition at line 131 of file rectangle.h.


Function Documentation

cartesian_point geometric::origin (  )  [inline]

the origin of the two-dimensional system.

Definition at line 36 of file cartesian_objects.h.

geometric::SAFE_STATIC_CONST ( screen_point  ,
screen_origin  ,
(0, 0)   
)

Definition at line 27 of file screen_rectangle.cpp.

const screen_point GEOMETRIC_FUNCTION_STYLE& geometric::screen_origin (  ) 

the origin of the screen coordinate system (which is top-left here).


Generated on Fri Nov 28 04:31:06 2008 for HOOPLE Libraries by  doxygen 1.5.1