Go to the documentation of this file.
47 template<
class Po
int,
class Po
intRef,
class polygonRef>
50 template<
class Po
int,
class Po
intRef,
class polygonRef>
57 template<
class Po
int,
class Po
intRef,
class polygonRef>
69 template<
class Po
int,
class Po
intRef,
class polygonRef>
97 inline polygonRef
base()
const;
114 friend Istream&
operator>> <
Point, PointRef, polygonRef>
120 friend Ostream& operator<< <Point, PointRef, polygonRef>
scalar mag(const pointField &points) const
Return scalar magnitude - returns volume of pyramid.
Pre-declare SubField and related Field type.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
pyramid(polygonRef base, const Point &apex)
Construct from base polygon and apex point.
A geometric pyramid primitive with a base of 'n' sides: i.e. a parametric pyramid....
vector height(const pointField &points) const
Return height vector.
polygonRef base() const
Return base polygon.
const Point & apex() const
Return apex point.
Point centre(const pointField &points) const
Return centre (centroid)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...