57 template<
class Po
int,
class Po
intRef>
class line;
59 template<
class Po
int,
class Po
intRef>
62 template<
class Po
int,
class Po
intRef>
63 inline Ostream& operator<<(Ostream&, const line<Point, PointRef>&);
70 template<
class Po
int,
class Po
intRef>
102 inline PointRef
start()
const;
105 inline PointRef
end()
const;
111 inline Point
centre()
const;
114 inline scalar
mag()
const;
117 inline Point
vec()
const;
138 friend Istream&
operator>> <Point, PointRef>
144 friend Ostream& operator<< <Point, PointRef>
scalar mag() const
Return scalar magnitude.
bool insideBoundBox(const Point &) const
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
line(const Point &start, const Point &end)
Construct from two points.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
Istream & operator>>(Istream &, directionInfo &)
PointRef start() const
Return first vertex.
This class describes the interaction of a face and a point. It carries the info of a successful hit a...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Point centre() const
Return centre (centroid)
Point vec() const
Return start-end vector.
PointRef end() const
Return second vertex.
PointHit< Point > nearestDist(const Point &p) const
Return nearest distance to line from a given point.