pyramid< Point, PointRef, polygonRef > Class Template Reference
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...
List of all members.
Detailed Description
template<class Point, class PointRef, class polygonRef>
class Foam::pyramid< Point, PointRef, polygonRef >
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.
- Source files
-
Definition at line 65 of file pyramid.H.
Constructor & Destructor Documentation
| pyramid |
( |
polygonRef |
base, |
|
|
const Point & |
apex | |
|
) |
| | [inline] |
Construct from base polygon and apex point.
Definition at line 32 of file pyramidI.H.
Member Function Documentation
| const Point & apex |
( |
|
) |
const [inline] |
| polygonRef base |
( |
|
) |
const [inline] |
Return base polygon.
Definition at line 59 of file pyramidI.H.
| Point centre |
( |
const pointField & |
points |
) |
const [inline] |
Return centre (centroid).
Definition at line 67 of file pyramidI.H.
Friends And Related Function Documentation
The documentation for this class was generated from the following files:
- src/OpenFOAM/meshes/primitiveShapes/pyramid/pyramid.H
- src/OpenFOAM/meshes/primitiveShapes/pyramid/pyramidI.H
Copyright © 2000-2009 OpenCFD Ltd