Functions
surfaceGenerateBoundingBox.C File Reference

Finds feature edges and corners of a triangulated surface. More...

Include dependency graph for surfaceGenerateBoundingBox.C:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 

Detailed Description

Finds feature edges and corners of a triangulated surface.

Original source file surfaceGenerateBoundingBox.C

Definition in file surfaceGenerateBoundingBox.C.

Function Documentation

◆ main()

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().

Here is the call graph for this function: