LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
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 1461 of file GeometryCore.h.

Member Function Documentation

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

Definition at line 1469 of file GeometryCore.h.

Referenced by geo::GeometryCore::IntersectSegments(), and geo::GeometryCore::WireEndPoints().

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

Definition at line 1470 of file GeometryCore.h.

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

Definition at line 1466 of file GeometryCore.h.

Referenced by geo::GeometryCore::IntersectSegments(), and geo::GeometryCore::WireEndPoints().

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

Definition at line 1467 of file GeometryCore.h.

1467 { return this->first; }

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