|
DeSiGNAR
0.5a
Data Structures General Library
|
#include <triangle.H>
Public Types | |
| using | PointType = PointT |
| using | SegmentType = GenSegment< PointT > |
Public Member Functions | |
| GenTriangle (const PointT &_p1, const PointT &_p2, const PointT &_p3) | |
| GenTriangle (const GenTriangle &t) | |
| GenTriangle (GenTriangle &&t) | |
| GenTriangle & | operator= (const GenTriangle &t) |
| GenTriangle & | operator= (GenTriangle &&t) |
| void | swap (GenTriangle &t) |
| const PointT & | get_p1 () const |
| const PointT & | get_p2 () const |
| const PointT & | get_p3 () const |
| void | set_p1 (const PointT &_p1) |
| void | set_p1 (PointT &&_p1) |
| void | set_p2 (const PointT &_p2) |
| void | set_p2 (PointT &&_p2) |
| void | set_p3 (const PointT &_p3) |
| void | set_p3 (PointT &&_p3) |
| real_t | area () const |
| bool | is_clockwise () const |
| bool | is_counterclockwise () const |
| bool | contains_to (const PointT &p) const |
| bool | contains_to (const SegmentType &s) const |
| bool | intersects_properly_with (const SegmentType &s) const |
| bool | intersects_with (const SegmentType &s) const |
| SegmentType | intersection_with (const SegmentType &s) |
| bool | operator== (const GenTriangle &t) const |
| bool | operator!= (const GenTriangle &t) const |
| using Designar::GenTriangle< PointT >::PointType = PointT |
| using Designar::GenTriangle< PointT >::SegmentType = GenSegment<PointT> |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
1.8.11