topology::segment< Point > Struct Template Reference

List of all members.

Detailed Description

template<class Point>
struct topology::segment< Point >

Structure that defines a segment.

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


Member Typedef Documentation

template<class Point>
typedef Point::coeff_t topology::segment< Point >::coeff_t

The type of the coefficients.

Definition at line 27 of file segment.h.


Constructor & Destructor Documentation

template<class Point>
topology::segment< Point >::segment (  ) 

Default constructor.

Definition at line 33 of file segment.h.

template<class Point>
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.

template<class Point>
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.


Member Data Documentation

template<class Point>
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().


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

SYNAPS DOCUMENTATION
logo