sead
Loading...
Searching...
No Matches
sead::Segment< VectorType > Class Template Reference

#include <seadLine.h>

Public Types

typedef VectorType::ValueType T

Public Member Functions

 Segment ()
 Segment (const VectorType &p0, const VectorType &p1)
const VectorType & getPos0 () const
void setPos0 (const VectorType &p0)
const VectorType & getPos1 () const
void setPos1 (const VectorType &p1)

Private Attributes

VectorType mP0
VectorType mP1

Member Typedef Documentation

◆ T

template<typename VectorType>
typedef VectorType::ValueType sead::Segment< VectorType >::T

Constructor & Destructor Documentation

◆ Segment() [1/2]

template<typename VectorType>
sead::Segment< VectorType >::Segment ( )
inline

◆ Segment() [2/2]

template<typename VectorType>
sead::Segment< VectorType >::Segment ( const VectorType & p0,
const VectorType & p1 )
inline

Member Function Documentation

◆ getPos0()

template<typename VectorType>
const VectorType & sead::Segment< VectorType >::getPos0 ( ) const
inline

◆ setPos0()

template<typename VectorType>
void sead::Segment< VectorType >::setPos0 ( const VectorType & p0)
inline

◆ getPos1()

template<typename VectorType>
const VectorType & sead::Segment< VectorType >::getPos1 ( ) const
inline

◆ setPos1()

template<typename VectorType>
void sead::Segment< VectorType >::setPos1 ( const VectorType & p1)
inline

Member Data Documentation

◆ mP0

template<typename VectorType>
VectorType sead::Segment< VectorType >::mP0
private

◆ mP1

template<typename VectorType>
VectorType sead::Segment< VectorType >::mP1
private