All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
geo::GeometryCore::Segment< Point > Struct Template Reference

Simple class with two points (a pair with aliases). More...

#include <GeometryCore.h>

Inheritance diagram for geo::GeometryCore::Segment< Point >:

Public Member Functions

Point const & start () const
 
Point & start ()
 
Point const & end () const
 
Point & end ()
 

Detailed Description

template<typename Point>
struct geo::GeometryCore::Segment< Point >

Simple class with two points (a pair with aliases).

Definition at line 1495 of file GeometryCore.h.

Member Function Documentation

template<typename Point >
Point const& geo::GeometryCore::Segment< Point >::end ( ) const
inline

Definition at line 1503 of file GeometryCore.h.

1503 { return this->second; }
template<typename Point >
Point& geo::GeometryCore::Segment< Point >::end ( )
inline

Definition at line 1504 of file GeometryCore.h.

1504 { return this->second; }
template<typename Point >
Point const& geo::GeometryCore::Segment< Point >::start ( ) const
inline

Definition at line 1500 of file GeometryCore.h.

1500 { return this->first; }
template<typename Point >
Point& geo::GeometryCore::Segment< Point >::start ( )
inline

Definition at line 1501 of file GeometryCore.h.

1501 { return this->first; }

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