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). | |
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 rectangle<int> geometric::int_rectangle |
| cartesian_point geometric::origin | ( | ) | [inline] |
| 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).
1.5.1