DeSiGNAR  0.5a
Data Structures General Library
List of all members
Designar::Triangle Class Reference

#include <triangle.H>

Inheritance diagram for Designar::Triangle:
Inheritance graph
[legend]
Collaboration diagram for Designar::Triangle:
Collaboration graph
[legend]

Additional Inherited Members

- Public Types inherited from Designar::GenTriangle< Point2D >
using PointType = Point2D
 
using SegmentType = GenSegment< Point2D >
 
- Public Member Functions inherited from Designar::GenTriangle< Point2D >
 GenTriangle (const Point2D &_p1, const Point2D &_p2, const Point2D &_p3)
 
 GenTriangle (const GenTriangle &t)
 
 GenTriangle (GenTriangle &&t)
 
GenTriangleoperator= (const GenTriangle &t)
 
GenTriangleoperator= (GenTriangle &&t)
 
void swap (GenTriangle &t)
 
const Point2Dget_p1 () const
 
const Point2Dget_p2 () const
 
const Point2Dget_p3 () const
 
void set_p1 (const Point2D &_p1)
 
void set_p1 (Point2D &&_p1)
 
void set_p2 (const Point2D &_p2)
 
void set_p2 (Point2D &&_p2)
 
void set_p3 (const Point2D &_p3)
 
void set_p3 (Point2D &&_p3)
 
real_t area () const
 
bool is_clockwise () const
 
bool is_counterclockwise () const
 
bool contains_to (const Point2D &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
 

The documentation for this class was generated from the following file: