Structure that defines a segment with two points.
Definition at line 24 of file segment.h.
Public Types | |
typedef Point::coeff_t | coeff_t |
Public Member Functions | |
segment () | |
segment (const segment &Segment) | |
segment (const Point &p1, const Point &p2) | |
Public Attributes | |
Point | a |
Point | b |
typedef Point::coeff_t topology::segment< Point >::coeff_t |
topology::segment< Point >::segment | ( | ) |
topology::segment< Point >::segment | ( | const segment< Point > & | Segment | ) |
Copy constructor.
Definition at line 36 of file segment.h.
References topology::segment< Point >::a, and topology::segment< Point >::b.
topology::segment< Point >::segment | ( | const Point & | p1, | |
const Point & | p2 | |||
) |
Regular constructor.
Definition at line 43 of file segment.h.
References topology::segment< Point >::a, and topology::segment< Point >::b.
Point topology::segment< Point >::a |
The two points which define a segment.
Definition at line 30 of file segment.h.
Referenced by topology::operator>>(), topology::print(), and topology::segment< Point >::segment().