Public Member Functions | |
triSurfaceDetectFeatureEdges (triSurf &surface, const scalar angleDeviation=45.0) | |
Construct from triSurface and tolerance. More... | |
~triSurfaceDetectFeatureEdges () | |
void | detectFeatureEdges () |
store regions in a graph More... | |
Private Member Functions | |
void | detectFeatureEdgesAngleCriterion () |
triSurfaceDetectFeatureEdges (const triSurfaceDetectFeatureEdges &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const triSurfaceDetectFeatureEdges &) |
Disallow default bitwise assignment. More... | |
Private Attributes | |
triSurf & | surf_ |
reference to triSurf More... | |
List< direction > | featureEdges_ |
detected feature edges More... | |
scalar | angleTolerance_ |
angle tolerance More... | |
Definition at line 50 of file triSurfaceDetectFeatureEdges.H.
|
private |
Disallow default bitwise copy construct.
triSurfaceDetectFeatureEdges | ( | triSurf & | surface, |
const scalar | angleDeviation = 45.0 |
||
) |
Construct from triSurface and tolerance.
Definition at line 41 of file triSurfaceDetectFeatureEdges.C.
References Foam::exit(), Foam::FatalError, and UPstream::parRun().
Definition at line 57 of file triSurfaceDetectFeatureEdges.C.
|
private |
detect feature edges by check angle between the normals of the two neighbouring facets
check the orientation of triangles at this edge check the sign of the angle if the orientation is not consistent
Definition at line 44 of file triSurfaceDetectFeatureEdgesFunctions.C.
References triSurfaceDetectFeatureEdges::angleTolerance_, DynList< T, staticSize >::append(), Foam::constRow, Foam::cos(), triSurfAddressing::edgeFacets(), triSurfAddressing::facetNormals(), triSurfaceDetectFeatureEdges::featureEdges_, Pair::first(), forAll, Foam::mag(), Pair::second(), DynList< T, staticSize >::size(), VRWGraph::sizeOfRow(), and triSurfaceDetectFeatureEdges::surf_.
|
private |
Disallow default bitwise assignment.
void detectFeatureEdges | ( | ) |
store regions in a graph
Definition at line 62 of file triSurfaceDetectFeatureEdges.C.
References LongList< T, Offset >::append(), LongList< T, Offset >::clear(), triSurfAddressing::edges(), triSurfaceDetectFeatureEdges::featureEdges_, triSurfModifier::featureEdgesAccess(), forAll, and triSurfaceDetectFeatureEdges::surf_.
Referenced by main().
|
private |
reference to triSurf
Definition at line 54 of file triSurfaceDetectFeatureEdges.H.
Referenced by triSurfaceDetectFeatureEdges::detectFeatureEdges(), and triSurfaceDetectFeatureEdges::detectFeatureEdgesAngleCriterion().
detected feature edges
Definition at line 57 of file triSurfaceDetectFeatureEdges.H.
Referenced by triSurfaceDetectFeatureEdges::detectFeatureEdges(), and triSurfaceDetectFeatureEdges::detectFeatureEdgesAngleCriterion().
|
private |
angle tolerance
Definition at line 60 of file triSurfaceDetectFeatureEdges.H.
Referenced by triSurfaceDetectFeatureEdges::detectFeatureEdgesAngleCriterion().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.