Go to the documentation of this file.
60 template<
class Po
int,
class Po
intRef>
class line;
62 template<
class Po
int,
class Po
intRef>
65 template<
class Po
int,
class Po
intRef>
73 template<
class Po
int,
class Po
intRef>
109 inline PointRef
first()
const;
112 inline PointRef
second()
const;
115 inline PointRef
last()
const;
118 inline PointRef
start()
const;
121 inline PointRef
end()
const;
130 inline scalar
mag()
const;
161 friend Ostream& operator<< <Point, PointRef>
Point centre() const
Return centre (centroid)
Describes the interaction of a face and a point. It carries the info of a successful hit and (if succ...
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
PointRef last() const
Return last (second) point.
Istream & operator>>(Istream &, directionInfo &)
PointRef start() const
Return first point.
PointRef end() const
Return second (last) point.
PointRef second() const
Return second (last) point.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
line(const Point &start, const Point &end)
Construct from two points.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
scalar mag() const
Return scalar magnitude.
Point unitVec() const
Return the unit vector (start-to-end)
PointRef first() const
Return first point.
A 1D vector of objects of type <T> with a fixed length <N>.
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,...
PointHit< Point > nearestDist(const Point &p) const
Return nearest distance to line from a given point.
Point vec() const
Return start-to-end vector.