|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
#include <point.H>
Public Member Functions | |
| Ellipse (Point __center, const Geom_Number &__hr, const Geom_Number &__vr) | |
| Ellipse (const Ellipse &e)=default | |
| Ellipse ()=default | |
| const Point & | get_center () const |
| const Geom_Number & | get_hradius () const |
| const Geom_Number & | get_vradius () const |
| Point | highest_point () const |
| Point | lowest_point () const |
| Point | leftmost_point () const |
| Point | rightmost_point () const |
| void | compute_tangents (Segment &s1, Segment &s2, const Geom_Number &m) const |
| bool | intersects_with (const Segment &s) const |
| bool | contains_to (const Point &p) const |
| bool | intersects_with (const Point &p) const |
| Segment | intersection_with (const Segment &sg) const |
Public Member Functions inherited from Geom_Object | |
| Geom_Object ()=default | |
| virtual | ~Geom_Object ()=default |
Static Public Member Functions | |
| static bool | is_clockwise () |
Private Member Functions | |
| Geom_Number | compute_radius (const Point &p) const |
Private Attributes | |
| Point | center |
| Geom_Number | hr |
| Geom_Number | vr |
Friends | |
| class | Point |
|
inline |
|
default |
|
default |
|
inlineprivate |
Definition at line 1309 of file point.H.
References center, Point::get_x(), Point::get_y(), hr, and vr.
Referenced by contains_to(), and intersects_with().
|
inline |
Definition at line 1228 of file point.H.
References center, Point::distance_with(), Segment::enlarge_src(), Segment::enlarge_tgt(), Segment::get_src_point(), Segment::get_tgt_point(), hr, Point, square_root(), vr, and y1().
Referenced by intersects_with().
|
inline |
Definition at line 1322 of file point.H.
References compute_radius().
Referenced by Point::is_inside().
|
inline |
Definition at line 1178 of file point.H.
References center.
Referenced by Eepic_Plane::draw_ellipse().
|
inline |
|
inline |
|
inline |
Definition at line 1186 of file point.H.
References center, Point::get_x(), Point::get_y(), and vr.
Definition at line 1387 of file point.H.
References ah_domain_error_if, center, Segment::get_src_point(), Segment::get_tgt_point(), Point::get_x(), Point::get_y(), hr, intersects_with(), Point, Segment::slope(), square_root(), vr, and y1().
Referenced by Segment::intersection_with().
|
inline |
Definition at line 1328 of file point.H.
References compute_radius().
|
inline |
Definition at line 1293 of file point.H.
References compute_tangents(), Segment::get_src_point(), Segment::get_tgt_point(), Segment::is_to_left_from(), and Segment::slope().
Referenced by intersection_with(), Point::intersects_with(), and Segment::intersects_with().
|
inlinestatic |
|
inline |
Definition at line 1196 of file point.H.
References center, Point::get_x(), Point::get_y(), and hr.
|
inline |
Definition at line 1191 of file point.H.
References center, Point::get_x(), Point::get_y(), and vr.
|
inline |
Definition at line 1201 of file point.H.
References center, Point::get_x(), Point::get_y(), and hr.
|
friend |
Definition at line 1147 of file point.H.
Referenced by compute_tangents(), and intersection_with().
|
private |
Definition at line 1159 of file point.H.
Referenced by compute_radius(), compute_tangents(), get_center(), highest_point(), intersection_with(), leftmost_point(), lowest_point(), and rightmost_point().
|
private |
Definition at line 1161 of file point.H.
Referenced by compute_radius(), compute_tangents(), get_hradius(), intersection_with(), leftmost_point(), and rightmost_point().
|
private |
Definition at line 1162 of file point.H.
Referenced by compute_radius(), compute_tangents(), get_vradius(), highest_point(), intersection_with(), and lowest_point().