Go to the documentation of this file.
49 template<
class Po
int,
class Po
intRef,
class polygonRef>
52 template<
class Po
int,
class Po
intRef,
class polygonRef>
59 template<
class Po
int,
class Po
intRef,
class polygonRef>
71 template<
class Po
int,
class Po
intRef,
class polygonRef>
99 inline polygonRef
base()
const;
116 friend Istream&
operator>> <
Point, PointRef, polygonRef>
122 friend Ostream& operator<< <Point, PointRef, polygonRef>
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.
Point centre(const UList< point > &points) const
Return centre (centroid)
A geometric pyramid primitive with a base of 'n' sides: i.e. a parametric pyramid....
scalar mag(const UList< point > &points) const
Return scalar magnitude - returns volume of pyramid.
polygonRef base() const
Return base polygon.
const Point & apex() const
Return apex point.
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,...
vector height(const UList< point > &points) const
Return height vector.