Finds feature edges and corners of a triangulated surface. More...
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
Finds feature edges and corners of a triangulated surface.
Original source file surfaceGenerateBoundingBox.C
Definition in file surfaceGenerateBoundingBox.C.
int main | ( | int | argc, |
char * | argv[] | ||
) |
generate bounding box points
generate bounding bound triangles
create patches
negative x direction
positive x direction
negative y direction
positive y direction
negative z direction
positive z direction
write the surface
Definition at line 44 of file surfaceGenerateBoundingBox.C.
References args, argList::args(), Foam::endl(), argList::executable(), Foam::exit(), triSurfModifier::facetsAccess(), Foam::FatalError, FatalErrorIn, Foam::Info, boundBox::max(), boundBox::min(), argList::noParallel(), nPatches, nPoints, triSurfFacets::patches(), triSurfModifier::patchesAccess(), points, triSurfModifier::pointsAccess(), s(), LongList< T, Offset >::setSize(), List::setSize(), List::size(), triSurfFacets::size(), argList::validArgs, triSurf::writeSurface(), Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.