21 class cartesian_point;
Provides a geometric point that use double floating points numbers.
double_angle provides a non-templated class for forward declarations.
Represents a geometric ellipse.
double area() const
Returns the area occupied by the ellipse.
double width_from_center() const
cartesian_point location(const double_angle &where) const
Describes the locus of the ellipse (basically, where it lives).
cartesian_point center() const
bool inside(const cartesian_point &where) const
Returns true if the point is inside the ellipse.
ellipse & operator=(const ellipse &to_copy)
double _height_from_center
double height_from_center() const
double perimeter() const
Returns the perimeter for the ellipse.
double _width_from_center
Contains all of our objects for geometry and avoids name clashes.