Template Struct Line

Struct Documentation

template<typename BaseVecT>
struct Line

A Line.

A line represented by a normal and a position vector.

Public Functions

inline Line()
BaseVecT project(const BaseVecT &other) const

Projects the given point onto the line and returns the projection point.

Public Members

Normal<typename BaseVecT::CoordType> normal
BaseVecT pos