A geometric pyramid primitive with a base of 'n' sides: i.e. a parametric pyramid. A pyramid is constructed from a base polygon and an apex point. More...
Public Types | |
typedef Point | point_type |
Public Member Functions | |
pyramid (polygonRef base, const Point &apex) | |
pyramid (Istream &is) | |
const Point & | apex () const |
polygonRef | base () const |
Point | centre (const UList< point > &points) const |
vector | height (const UList< point > &points) const |
scalar | mag (const UList< point > &points) const |
Friends | |
Istream & | operator>> (Istream &is, pyramid &p) |
Ostream & | operator (Ostream &os, const pyramid &p) |
A geometric pyramid primitive with a base of 'n' sides: i.e. a parametric pyramid. A pyramid is constructed from a base polygon and an apex point.
typedef Point point_type |
Definition at line 27 of file pyramidI.H.
Definition at line 38 of file pyramidI.H.
References IOstream::check(), and FUNCTION_NAME.
|
inline |
Definition at line 48 of file pyramidI.H.
|
inline |
Definition at line 54 of file pyramidI.H.
Definition at line 62 of file pyramidI.H.
References points.
|
inline |
Definition at line 72 of file pyramidI.H.
References points.
Definition at line 83 of file pyramidI.H.
References points.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.