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
 
Pointstart ()
 
Point const & end () const
 
Pointend ()
 

Detailed Description

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

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

Definition at line 1487 of file GeometryCore.h.

Member Function Documentation

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

Definition at line 1495 of file GeometryCore.h.

1495 { return this->second; }
second_as<> second
Type of time stored in seconds, in double precision.
Definition: spacetime.h:85
template<typename Point >
Point& geo::GeometryCore::Segment< Point >::end ( )
inline

Definition at line 1496 of file GeometryCore.h.

1496 { return this->second; }
second_as<> second
Type of time stored in seconds, in double precision.
Definition: spacetime.h:85
template<typename Point >
Point const& geo::GeometryCore::Segment< Point >::start ( ) const
inline

Definition at line 1492 of file GeometryCore.h.

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

Definition at line 1493 of file GeometryCore.h.

1493 { return this->first; }

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