Description of feature edges and points. More...
#include <extendedEdgeMesh.H>


Public Types | |
| enum | pointStatus { CONVEX , CONCAVE , MIXED , NONFEATURE } |
| enum | edgeStatus { EXTERNAL , INTERNAL , FLAT , OPEN , MULTIPLE , NONE } |
| enum | sideVolumeType { INSIDE = 0 , OUTSIDE = 1 , BOTH = 2 , NEITHER = 3 } |
| Normals point to the outside. More... | |
| Public Types inherited from GeoMesh< faMesh > | |
| typedef faMesh | Mesh |
| typedef faMesh::BoundaryMesh | BoundaryMesh |
Public Member Functions | |
| TypeName ("extendedEdgeMesh") | |
| Runtime type information. | |
| extendedEdgeMesh () | |
| Default construct. | |
| extendedEdgeMesh (const extendedEdgeMesh &fem) | |
| Copy construct. | |
| extendedEdgeMesh (const fileName &name) | |
| Construct from file name (uses extension to determine type). | |
| extendedEdgeMesh (const fileName &name, const word &fileType) | |
| Construct from file name with given format type. | |
| extendedEdgeMesh (Istream &is) | |
| Construct from Istream. | |
| extendedEdgeMesh (const pointField &points, const edgeList &edges) | |
| Copy construct from components. | |
| extendedEdgeMesh (pointField &&points, edgeList &&edges) | |
| Move construct from components. | |
| extendedEdgeMesh (const surfaceFeatures &sFeat, const boolList &surfBaffleRegions) | |
| Construct given a surface with selected edges,points. | |
| extendedEdgeMesh (const PrimitivePatch< faceList, pointField > &surf, const labelUList &featureEdges, const labelUList ®ionFeatureEdges, const labelUList &featurePoints) | |
| Construct from PrimitivePatch. | |
| extendedEdgeMesh (const pointField &pts, const edgeList &eds, label concaveStart, label mixedStart, label nonFeatureStart, label internalStart, label flatStart, label openStart, label multipleStart, const vectorField &normals, const List< sideVolumeType > &normalVolumeTypes, const vectorField &edgeDirections, const labelListList &normalDirections, const labelListList &edgeNormals, const labelListList &featurePointNormals, const labelListList &featurePointEdges, const labelList ®ionEdges) | |
| Construct from all components. | |
| declareRunTimeSelectionTable (autoPtr, extendedEdgeMesh, fileExtension,(const fileName &name),(name)) | |
| ~extendedEdgeMesh ()=default | |
| Destructor. | |
| void | nearestFeaturePoint (const point &sample, scalar searchDistSqr, pointIndexHit &info) const |
| Find nearest surface edge for the sample point. | |
| void | nearestFeatureEdge (const point &sample, scalar searchDistSqr, pointIndexHit &info) const |
| Find nearest surface edge for the sample point. | |
| void | nearestFeatureEdge (const pointField &samples, const scalarField &searchDistSqr, List< pointIndexHit > &info) const |
| Find nearest surface edge for each sample point. | |
| void | nearestFeatureEdgeByType (const point &sample, const scalarField &searchDistSqr, List< pointIndexHit > &info) const |
| Find the nearest point on each type of feature edge. | |
| void | allNearestFeaturePoints (const point &sample, scalar searchRadiusSqr, List< pointIndexHit > &info) const |
| Find all the feature points within searchDistSqr of sample. | |
| void | allNearestFeatureEdges (const point &sample, const scalar searchRadiusSqr, List< pointIndexHit > &info) const |
| Find all the feature edges within searchDistSqr of sample. | |
| label | convexStart () const |
| Return the index of the start of the convex feature points. | |
| label | concaveStart () const |
| Return the index of the start of the concave feature points. | |
| label | mixedStart () const |
| Return the index of the start of the mixed type feature points. | |
| label | nonFeatureStart () const |
| Return the index of the start of the non-feature points. | |
| label | externalStart () const |
| Return the index of the start of the external feature edges. | |
| label | internalStart () const |
| Return the index of the start of the internal feature edges. | |
| label | flatStart () const |
| Return the index of the start of the flat feature edges. | |
| label | openStart () const |
| Return the index of the start of the open feature edges. | |
| label | multipleStart () const |
| Return the index of the start of the multiply-connected feature. | |
| bool | featurePoint (label ptI) const |
| Return whether or not the point index is a feature point. | |
| const vectorField & | normals () const |
| Return the normals of the surfaces adjacent to the feature edges. | |
| const List< sideVolumeType > & | normalVolumeTypes () const |
| Return. | |
| const vectorField & | edgeDirections () const |
| Return the edgeDirection vectors. | |
| const labelListList & | normalDirections () const |
| vector | edgeDirection (label edgeI, label ptI) const |
| Return the direction of edgeI, pointing away from ptI. | |
| const labelListList & | edgeNormals () const |
| Return the indices of the normals that are adjacent to the. | |
| vectorField | edgeNormals (const labelList &edgeNormIs) const |
| Return the normal vectors for a given set of normal indices. | |
| vectorField | edgeNormals (label edgeI) const |
| Return the normal vectors for a given edge. | |
| const labelListList & | featurePointNormals () const |
| Return the indices of the normals that are adjacent to the. | |
| vectorField | featurePointNormals (label ptI) const |
| Return the normal vectors for a given feature point. | |
| const labelListList & | featurePointEdges () const |
| Return the edge labels for a given feature point. Edges are. | |
| const labelList & | regionEdges () const |
| Return the feature edges which are on the boundary between. | |
| pointStatus | getPointStatus (label ptI) const |
| Return the pointStatus of a specified point. | |
| edgeStatus | getEdgeStatus (label edgeI) const |
| Return the edgeStatus of a specified edge. | |
| PackedList< 2 > | edgeBaffles (label edgeI) const |
| Return the baffle faces of a specified edge. | |
| const indexedOctree< treeDataPoint > & | pointTree () const |
| Demand driven construction of octree for feature points. | |
| const indexedOctree< treeDataEdge > & | edgeTree () const |
| Demand driven construction of octree for boundary edges. | |
| const PtrList< indexedOctree< treeDataEdge > > & | edgeTreesByType () const |
| Demand driven construction of octree for boundary edges by type. | |
| void | transfer (extendedEdgeMesh &mesh) |
| Transfer the contents of the argument and annul the argument. | |
| virtual void | clear () |
| Clear all storage. | |
| void | add (const extendedEdgeMesh &fem) |
| Add extendedEdgeMesh. No filtering of duplicates. | |
| void | flipNormals () |
| Flip normals. All concave become convex, all internal external. | |
| void | autoMap (const pointField &subPoints, const edgeList &subEdges, const labelList &pointMap, const labelList &edgeMap) |
| Update with derived geometry. | |
| void | trim (const searchableSurface &surf, const volumeType volType, labelList &pointMap, labelList &edgeMap) |
| Trim to surface. Keep volType side. Return map from current back. | |
| void | setFromStatus (const List< extendedEdgeMesh::pointStatus > &pointStat, const List< extendedEdgeMesh::edgeStatus > &edgeStat, labelList &sortedToOriginalPoint, labelList &sortedToOriginalEdge) |
| Order according to point and edge status. | |
| bool | mergePointsAndSort (const scalar mergeDist, labelList &pointMap, labelList &edgeMap) |
| Geometric merge points. Returns true if any points merged. | |
| bool | read (const fileName &name, const word &ext) |
| Read from file. Chooses reader based on explicit extension. | |
| virtual bool | read (const fileName &name) |
| Read from file. Chooses reader based on detected extension. | |
| void | writeObj (const fileName &prefix) const |
| Write all components of the extendedEdgeMesh as obj files. | |
| virtual void | writeStats (Ostream &os) const |
| Dump some information. | |
| Public Member Functions inherited from edgeMesh | |
| edgeMesh (const faMesh &mesh) | |
| Construct finite-area edge mesh faMesh reference. | |
| label | size () const noexcept |
| The geometric (internal) size - number of internal edges. | |
| const edgeVectorField & | C () const |
| Field of edge centres. | |
| TypeName ("edgeMesh") | |
| Runtime type information. | |
| edgeMesh () | |
| Default construct. | |
| edgeMesh (const edgeMesh &em) | |
| Copy construct. | |
| edgeMesh (edgeMesh &&em) | |
| Move construct. | |
| edgeMesh (const pointField &points, const edgeList &edges) | |
| Copy construct from components. | |
| edgeMesh (pointField &&pointLst, edgeList &&edgeLst) | |
| Move construct from components. | |
| edgeMesh (const fileName &name) | |
| Construct from file name (uses extension to determine type). | |
| edgeMesh (const fileName &name, const word &fileType) | |
| Construct from file name with specified type. | |
| declareRunTimeSelectionTable (autoPtr, edgeMesh, fileExtension,(const fileName &name),(name)) | |
| virtual | ~edgeMesh ()=default |
| Destructor. | |
| declareMemberFunctionSelectionTable (void, edgeMesh, write, fileExtension,(const fileName &name, const edgeMesh &mesh, IOstreamOption streamOpt, const dictionary &options),(name, mesh, streamOpt, options)) | |
| void | transfer (edgeMesh &mesh) |
| Transfer the contents of the argument and annul the argument. | |
| bool | read (const fileName &name, const word &fileType) |
| Read from file. Chooses reader based on explicit extension. | |
| const pointField & | points () const noexcept |
| Return points. | |
| const edgeList & | edges () const noexcept |
| Return edges. | |
| const labelListList & | pointEdges () const |
| Return edges. | |
| label | regions (labelList &edgeRegion) const |
| Find connected regions. Set region number per edge. | |
| virtual void | scalePoints (const scalar scaleFactor) |
| Scale points. A non-positive factor is ignored. | |
| virtual void | mergePoints (const scalar mergeDist) |
| Geometric merge points (points within mergeDist) prior to. | |
| virtual void | mergeEdges () |
| Merge duplicate edges and eliminate unused points. | |
| virtual void | write (const fileName &name, IOstreamOption streamOpt=IOstreamOption(), const dictionary &options=dictionary::null) const |
| Write to file, choosing writer based on the file extension. | |
| virtual void | write (const fileName &name, const word &fileType, IOstreamOption streamOpt=IOstreamOption(), const dictionary &options=dictionary::null) const |
| Write to file with given format type. | |
| void | operator= (const edgeMesh &rhs) |
| Copy assignment. | |
| void | operator= (edgeMesh &&rhs) |
| Move assignment. | |
| Public Member Functions inherited from GeoMesh< faMesh > | |
| GeoMesh (const faMesh &mesh) | |
| Construct from mesh reference. | |
| bool | hasDb () const |
| Return true if thisDb() is a valid DB - here = false. | |
| const objectRegistry & | thisDb () const |
| Return the object registry. | |
| const faMesh & | operator() () const |
| Return reference to the underlying mesh. | |
| Public Member Functions inherited from edgeMeshFormatsCore | |
| edgeMeshFormatsCore ()=default | |
| Default construct. | |
| virtual | ~edgeMeshFormatsCore ()=default |
| Destructor. | |
Static Public Member Functions | |
| static wordHashSet | readTypes () |
| Summary of supported read file types. | |
| static wordHashSet | writeTypes () |
| Summary of supported write file types. | |
| static bool | canReadType (const word &fileType, bool verbose=false) |
| Can we read this file format? | |
| static bool | canWriteType (const word &fileType, bool verbose=false) |
| Can we write this file format type? | |
| static bool | canRead (const fileName &name, bool verbose=false) |
| Can we read this file format? | |
| static autoPtr< extendedEdgeMesh > | New (const fileName &name, const word &fileType) |
| Select constructed from filename with given file format. | |
| static autoPtr< extendedEdgeMesh > | New (const fileName &name) |
| Select constructed from filename (implicit extension). | |
| static edgeStatus | classifyEdge (const List< vector > &norms, const labelList &edNorms, const vector &fC0tofC1) |
| Classify the type of feature edge. Requires face centre 0 to face. | |
| static void | sortedOrder (const List< extendedEdgeMesh::pointStatus > &pointStat, const List< extendedEdgeMesh::edgeStatus > &edgeStat, labelList &sortedToOriginalPoint, labelList &sortedToOriginalEdge, label &pointConcaveStart, label &pointMixedStart, label &pointNonFeatStart, label &edgeInternalStart, label &edgeFlatStart, label &edgeOpenStart, label &edgeMultipleStart) |
| Determine the ordering. | |
| Static Public Member Functions inherited from edgeMesh | |
| static label | size (const faMesh &mesh) noexcept |
| The geometric (internal) size - number of internal edges. | |
| static label | boundary_size (const faMesh &mesh) noexcept |
| The geometric boundary size - number of boundary edges. | |
| static wordHashSet | readTypes () |
| Summary of supported read file types. | |
| static wordHashSet | writeTypes () |
| Summary of supported write file types. | |
| static bool | canReadType (const word &fileType, bool verbose=false) |
| Can we read this file format? | |
| static bool | canWriteType (const word &fileType, bool verbose=false) |
| Can we write this file format type? | |
| static bool | canRead (const fileName &name, bool verbose=false) |
| Can we read this file format? | |
| static autoPtr< edgeMesh > | New (const fileName &name, const word &fileType) |
| Read construct from filename with given format. | |
| static autoPtr< edgeMesh > | New (const fileName &name) |
| Select constructed from filename (implicit extension). | |
| static void | write (const fileName &name, const edgeMesh &mesh, IOstreamOption streamOpt=IOstreamOption(), const dictionary &options=dictionary::null) |
| Write to file (format implicit in the extension). | |
| static void | write (const fileName &name, const word &fileType, const edgeMesh &mesh, IOstreamOption streamOpt=IOstreamOption(), const dictionary &options=dictionary::null) |
| Write to file, with given format. | |
| Static Public Member Functions inherited from edgeMeshFormatsCore | |
| static bool | checkSupport (const wordHashSet &available, const word &fileType, const bool verbose=false, const char *functionName=nullptr) |
| Verbose checking of fileType in the list of available types. | |
Static Public Attributes | |
| static const Enum< pointStatus > | pointStatusNames_ |
| static const Enum< edgeStatus > | edgeStatusNames_ |
| static const Enum< sideVolumeType > | sideVolumeTypeNames_ |
| static scalar | cosNormalAngleTol_ |
| Angular closeness tolerance for treating normals as the same. | |
| static constexpr label | nPointTypes = 4 |
| Number of possible point types (i.e. number of slices). | |
| static constexpr label | nEdgeTypes = 5 |
| Number of possible feature edge types (i.e. number of slices). | |
| Static Public Attributes inherited from edgeMeshFormatsCore | |
| static word | nativeExt |
| The file extension corresponding to 'native' edge format. | |
Protected Member Functions | |
| extendedEdgeMesh (std::nullptr_t) | |
| Construct null, initializing start indices with -1. | |
| pointStatus | classifyFeaturePoint (label ptI) const |
| Classify the type of feature point. Requires valid stored member. | |
| void | cut (const searchableSurface &, labelList &pMap, labelList &eMap, labelList &pointsFromEdge, labelList &oldEdge, labelList &surfTri) |
| Cut edges with surface. Return map from cut points&edges back. | |
| void | select (const searchableSurface &surf, const volumeType volType, labelList &pMap, labelList &eMap) |
| Remove outside/inside edges. volType denotes which side to keep. | |
| template<class Patch> | |
| void | sortPointsAndEdges (const Patch &, const labelUList &featureEdges, const labelUList ®ionFeatureEdges, const labelUList &feaurePoints) |
| Protected Member Functions inherited from edgeMesh | |
| pointField & | storedPoints () noexcept |
| Non-const access to global points. | |
| edgeList & | storedEdges () noexcept |
| Non-const access to the edges. | |
Protected Attributes | |
| label | concaveStart_ |
| Index of the start of the concave feature points. | |
| label | mixedStart_ |
| Index of the start of the mixed type feature points. | |
| label | nonFeatureStart_ |
| Index of the start of the non-feature points. | |
| label | internalStart_ |
| Index of the start of the internal feature edges. | |
| label | flatStart_ |
| Index of the start of the flat feature edges. | |
| label | openStart_ |
| Index of the start of the open feature edges. | |
| label | multipleStart_ |
| Index of the start of the multiply-connected feature edges. | |
| vectorField | normals_ |
| Normals of the features, to be referred to by index by both feature. | |
| List< sideVolumeType > | normalVolumeTypes_ |
| Type per normal: which side of normal to mesh. | |
| vectorField | edgeDirections_ |
| Flat and open edges require the direction of the edge. | |
| labelListList | normalDirections_ |
| Starting directions for the edges. | |
| labelListList | edgeNormals_ |
| Indices of the normals that are adjacent to the feature edges. | |
| labelListList | featurePointNormals_ |
| Indices of the normals that are adjacent to the feature points. | |
| labelListList | featurePointEdges_ |
| Indices of feature edges attached to feature points. The edges are. | |
| labelList | regionEdges_ |
| Feature edges which are on the boundary between regions. | |
| std::unique_ptr< indexedOctree< treeDataPoint > > | pointTree_ |
| Search tree for all feature points. | |
| std::unique_ptr< indexedOctree< treeDataEdge > > | edgeTree_ |
| Search tree for all edges. | |
| PtrList< indexedOctree< treeDataEdge > > | edgeTreesByType_ |
| Individual search trees for each type of edge. | |
| Protected Attributes inherited from GeoMesh< faMesh > | |
| const faMesh & | mesh_ |
| Reference to Mesh. | |
Static Protected Attributes | |
| static label | convexStart_ = 0 |
| Index of the start of the convex feature points - static as 0. | |
| static label | externalStart_ = 0 |
| Index of the start of the external feature edges - static as 0. | |
Friends | |
| Istream & | operator>> (Istream &is, extendedEdgeMesh::sideVolumeType &vt) |
| Ostream & | operator<< (Ostream &os, const sideVolumeType &vt) |
| Ostream & | operator<< (Ostream &, const extendedEdgeMesh &) |
| Istream & | operator>> (Istream &, extendedEdgeMesh &) |
Additional Inherited Members | |
| Static Protected Member Functions inherited from edgeMeshFormatsCore | |
| static string | getLineNoComment (ISstream &is, const char comment='#') |
| Read non-comment line. | |
Description of feature edges and points.
Feature points are a sorted subset at the start of the overall points list: 0 .. concaveStart_-1 : convex points (w.r.t normals) concaveStart_ .. mixedStart_-1 : concave points mixedStart_ .. nonFeatureStart_-1 : mixed internal/external points nonFeatureStart_ .. size-1 : non-feature points
Feature edges are the edgeList of the edgeMesh and are sorted: 0 .. internalStart_-1 : external edges (convex w.r.t normals) internalStart_ .. flatStart_-1 : internal edges (concave) flatStart_ .. openStart_-1 : flat edges (neither concave or convex) can arise from region interfaces on flat surfaces openStart_ .. multipleStart_-1 : open edges (e.g. from baffle surfaces) multipleStart_ .. size-1 : multiply connected edges
The edge direction and feature edge and feature point adjacent normals are stored.
Definition at line 81 of file extendedEdgeMesh.H.
| enum pointStatus |
| Enumerator | |
|---|---|
| CONVEX | Fully convex point (w.r.t normals). |
| CONCAVE | Fully concave point. |
| MIXED | A point surrounded by both convex and concave edges. |
| NONFEATURE | Not a feature point. |
Definition at line 92 of file extendedEdgeMesh.H.
| enum edgeStatus |
| Enumerator | |
|---|---|
| EXTERNAL | "Convex" edge |
| INTERNAL | "Concave" edge |
| FLAT | Neither concave or convex, on a flat surface. |
| OPEN | Only connected to a single face. |
| MULTIPLE | Multiply connected (connected to more than two faces). |
| NONE | Unclassified (consistency with surfaceFeatures). |
Definition at line 102 of file extendedEdgeMesh.H.
| enum sideVolumeType |
Normals point to the outside.
| Enumerator | |
|---|---|
| INSIDE | mesh inside |
| OUTSIDE | mesh outside |
| BOTH | e.g. a baffle |
| NEITHER | not sure when this may be used |
Definition at line 117 of file extendedEdgeMesh.H.
|
explicitprotected |
Construct null, initializing start indices with -1.
Definition at line 396 of file extendedEdgeMesh.C.
References concaveStart_, edgeDirections_, edgeMesh::edgeMesh(), edgeNormals_, edgeTree_, edgeTreesByType_, featurePointEdges_, featurePointNormals_, flatStart_, internalStart_, mixedStart_, multipleStart_, nonFeatureStart_, normalDirections_, normals_, normalVolumeTypes_, openStart_, pointTree_, and regionEdges_.
Referenced by add(), autoMap(), declareRunTimeSelectionTable(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), extendedFeatureEdgeMesh::extendedFeatureEdgeMesh(), extendedFeatureEdgeMesh::extendedFeatureEdgeMesh(), extendedFeatureEdgeMesh::extendedFeatureEdgeMesh(), extendedFeatureEdgeMesh::extendedFeatureEdgeMesh(), extendedFeatureEdgeMesh::extendedFeatureEdgeMesh(), operator<<, operator>>, transfer(), extendedFeatureEdgeMesh::TypeName(), and ~extendedEdgeMesh().


| extendedEdgeMesh | ( | ) |
Default construct.
Definition at line 372 of file extendedEdgeMesh.C.
References concaveStart_, edgeDirections_, edgeMesh::edgeMesh(), edgeNormals_, edgeTree_, edgeTreesByType_, featurePointEdges_, featurePointNormals_, flatStart_, internalStart_, mixedStart_, multipleStart_, nonFeatureStart_, normalDirections_, normals_, normalVolumeTypes_, openStart_, pointTree_, and regionEdges_.

|
explicit |
Copy construct.
Definition at line 420 of file extendedEdgeMesh.C.
References concaveStart(), concaveStart_, edgeDirections(), edgeDirections_, edgeMesh::edgeMesh(), edgeNormals(), edgeNormals_, edgeTree_, edgeTreesByType_, extendedEdgeMesh(), featurePointEdges(), featurePointEdges_, featurePointNormals(), featurePointNormals_, flatStart(), flatStart_, internalStart(), internalStart_, mixedStart(), mixedStart_, multipleStart(), multipleStart_, nonFeatureStart(), nonFeatureStart_, normalDirections(), normalDirections_, normals(), normals_, normalVolumeTypes(), normalVolumeTypes_, openStart(), openStart_, pointTree_, regionEdges(), and regionEdges_.

|
explicit |
Construct from file name (uses extension to determine type).
Definition at line 612 of file extendedEdgeMesh.C.
References extendedEdgeMesh(), Foam::name(), and read().

Construct from file name with given format type.
Definition at line 600 of file extendedEdgeMesh.C.
References extendedEdgeMesh(), Foam::name(), and read().

|
explicit |
Construct from Istream.
Definition at line 444 of file extendedEdgeMesh.C.
| extendedEdgeMesh | ( | const pointField & | points, |
| const edgeList & | edges ) |
Copy construct from components.
Definition at line 450 of file extendedEdgeMesh.C.
References edgeMesh::edges(), extendedEdgeMesh(), edgeMesh::points(), edgeMesh::storedEdges(), and edgeMesh::storedPoints().

| extendedEdgeMesh | ( | pointField && | points, |
| edgeList && | edges ) |
Move construct from components.
Definition at line 463 of file extendedEdgeMesh.C.
References edgeMesh::edges(), extendedEdgeMesh(), edgeMesh::points(), edgeMesh::storedEdges(), edgeMesh::storedPoints(), and List< T >::transfer().

| extendedEdgeMesh | ( | const surfaceFeatures & | sFeat, |
| const boolList & | surfBaffleRegions ) |
Construct given a surface with selected edges,points.
(surfaceFeatures) Extracts, classifies and reorders the data from surfaceFeatures.
Definition at line 476 of file extendedEdgeMesh.C.
References BOTH, PrimitivePatch< FaceList, PointField >::edgeFaces(), extendedEdgeMesh(), Foam::faceMap(), surfaceFeatures::featureEdges(), surfaceFeatures::featurePoints(), forAll, Foam::identity(), INSIDE, normals_, normalVolumeTypes_, surfaceFeatures::nRegionEdges(), UList< T >::size(), sortPointsAndEdges(), and surfaceFeatures::surface().

| extendedEdgeMesh | ( | const PrimitivePatch< faceList, pointField > & | surf, |
| const labelUList & | featureEdges, | ||
| const labelUList & | regionFeatureEdges, | ||
| const labelUList & | featurePoints ) |
Construct from PrimitivePatch.
Definition at line 537 of file extendedEdgeMesh.C.
References extendedEdgeMesh(), and sortPointsAndEdges().

| extendedEdgeMesh | ( | const pointField & | pts, |
| const edgeList & | eds, | ||
| label | concaveStart, | ||
| label | mixedStart, | ||
| label | nonFeatureStart, | ||
| label | internalStart, | ||
| label | flatStart, | ||
| label | openStart, | ||
| label | multipleStart, | ||
| const vectorField & | normals, | ||
| const List< sideVolumeType > & | normalVolumeTypes, | ||
| const vectorField & | edgeDirections, | ||
| const labelListList & | normalDirections, | ||
| const labelListList & | edgeNormals, | ||
| const labelListList & | featurePointNormals, | ||
| const labelListList & | featurePointEdges, | ||
| const labelList & | regionEdges ) |
Construct from all components.
Definition at line 557 of file extendedEdgeMesh.C.
References concaveStart(), concaveStart_, edgeDirections(), edgeDirections_, edgeMesh::edgeMesh(), edgeNormals(), edgeNormals_, edgeTree_, edgeTreesByType_, featurePointEdges(), featurePointEdges_, featurePointNormals(), featurePointNormals_, flatStart(), flatStart_, internalStart(), internalStart_, mixedStart(), mixedStart_, multipleStart(), multipleStart_, nonFeatureStart(), nonFeatureStart_, normalDirections(), normalDirections_, normals(), normals_, normalVolumeTypes(), normalVolumeTypes_, openStart(), openStart_, pointTree_, pts, regionEdges(), and regionEdges_.

|
default |
Destructor.
References extendedEdgeMesh(), mesh, Foam::name(), os(), and samples().

| TypeName | ( | "extendedEdgeMesh" | ) |
Runtime type information.
|
protected |
Classify the type of feature point. Requires valid stored member.
data for edges and normals.
Definition at line 146 of file extendedEdgeMesh.C.
References CONCAVE, CONVEX, EXTERNAL, forAll, getEdgeStatus(), INTERNAL, MIXED, NONFEATURE, edgeMesh::pointEdges(), and UList< T >::size().
Referenced by mergePointsAndSort(), sortPointsAndEdges(), and trim().


|
protected |
Cut edges with surface. Return map from cut points&edges back.
to original
Definition at line 190 of file extendedEdgeMesh.C.
References DynamicField< T, SizeMin >::append(), DynamicList< T, SizeMin >::append(), autoMap(), DynamicField< T, SizeMin >::capacity(), DynamicList< T, SizeMin >::capacity(), e, edgeMesh::edges(), searchableSurface::findLineAll(), forAll, Foam::identity(), edgeMesh::points(), points, DynamicField< T, SizeMin >::setCapacity(), DynamicList< T, SizeMin >::setCapacity(), UList< T >::size(), and List< T >::transfer().
Referenced by trim().


|
protected |
Remove outside/inside edges. volType denotes which side to keep.
Definition at line 292 of file extendedEdgeMesh.C.
References autoMap(), e, edgeCentres(), edgeMesh::edges(), forAll, searchableSurface::getVolumeType(), Foam::identity(), volumeType::INSIDE, Foam::labelMax, volumeType::OUTSIDE, edgeMesh::points(), points, List< T >::setSize(), and UList< T >::size().
Referenced by trim().


|
protected |
Definition at line 32 of file extendedEdgeMeshTemplates.C.
References Foam::abort(), DynamicList< T, SizeMin >::append(), Vector< Cmpt >::centre(), classifyEdge(), classifyFeaturePoint(), Foam::ListListOps::combine(), CONCAVE, concaveStart_, CONVEX, cosNormalAngleTol_, Foam::cross(), edgeDirections(), edgeDirections_, edgeMesh::edgeMesh(), edgeMesh::edgeMesh(), edgeNormals(), edgeNormals_, edge::end(), UList< T >::end(), EXTERNAL, Foam::faceMap(), Foam::FatalError, FatalErrorInFunction, featurePointEdges_, featurePointNormals(), featurePointNormals_, FLAT, flatStart_, forAll, UList< T >::found(), Foam::identity(), Foam::inplaceRenumber(), Foam::inplaceReorder(), INTERNAL, internalStart_, Foam::invert(), k, Foam::mag(), MIXED, mixedStart_, MULTIPLE, multipleStart_, nEdgeTypes, Foam::nl, NONE, NONFEATURE, nonFeatureStart_, normalDirections(), normalDirections_, normals_, OPEN, openStart_, edgeMesh::operator=(), edgeMesh::pointEdges(), edgeMesh::points(), pts, regionEdges(), regionEdges_, DynamicList< T, SizeMin >::setCapacity(), UList< T >::size(), PatchTools::sortedEdgeFaces(), PatchTools::sortedPointEdges(), edge::start(), bitSet::test(), edgeMesh::transfer(), List< T >::transfer(), edge::vec(), and Foam::Zero.
Referenced by extendedEdgeMesh(), and extendedEdgeMesh().


|
static |
Summary of supported read file types.
Definition at line 94 of file extendedEdgeMesh.C.
Referenced by canReadType().

|
static |
Summary of supported write file types.
Definition at line 100 of file extendedEdgeMesh.C.
Referenced by canWriteType().

|
static |
Can we read this file format?
Definition at line 106 of file extendedEdgeMesh.C.
References readTypes().
Referenced by canRead().


|
static |
Can we write this file format type?
Definition at line 118 of file extendedEdgeMesh.C.
References writeTypes().

|
static |
Can we read this file format?
Definition at line 130 of file extendedEdgeMesh.C.
References canReadType(), and Foam::name().
Referenced by edgeSlipDisplacementPointPatchVectorField::read().


| declareRunTimeSelectionTable | ( | autoPtr | , |
| extendedEdgeMesh | , | ||
| fileExtension | , | ||
| (const fileName &name) | , | ||
| (name) | ) |
|
static |
Select constructed from filename with given file format.
Definition at line 34 of file extendedEdgeMeshNew.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::flatOutput(), Foam::name(), and Foam::nl.

|
static |
Select constructed from filename (implicit extension).
Definition at line 56 of file extendedEdgeMeshNew.C.
References Foam::name(), and Foam::New().

| void nearestFeaturePoint | ( | const point & | sample, |
| scalar | searchDistSqr, | ||
| pointIndexHit & | info ) const |
Find nearest surface edge for the sample point.
Definition at line 645 of file extendedEdgeMesh.C.
References pointTree().

| void nearestFeatureEdge | ( | const point & | sample, |
| scalar | searchDistSqr, | ||
| pointIndexHit & | info ) const |
Find nearest surface edge for the sample point.
Definition at line 660 of file extendedEdgeMesh.C.
References edgeTree().
Referenced by nearestFeatureEdge().


| void nearestFeatureEdge | ( | const pointField & | samples, |
| const scalarField & | searchDistSqr, | ||
| List< pointIndexHit > & | info ) const |
Find nearest surface edge for each sample point.
Definition at line 675 of file extendedEdgeMesh.C.
References forAll, nearestFeatureEdge(), samples(), and List< T >::setSize().

| void nearestFeatureEdgeByType | ( | const point & | sample, |
| const scalarField & | searchDistSqr, | ||
| List< pointIndexHit > & | info ) const |
Find the nearest point on each type of feature edge.
Definition at line 696 of file extendedEdgeMesh.C.
References edgeTreesByType(), forAll, List< T >::resize(), UPtrList< T >::size(), and tree().

| void allNearestFeaturePoints | ( | const point & | sample, |
| scalar | searchRadiusSqr, | ||
| List< pointIndexHit > & | info ) const |
Find all the feature points within searchDistSqr of sample.
Definition at line 723 of file extendedEdgeMesh.C.
References DynamicList< T, SizeMin >::append(), pointTree(), UList< T >::size(), and List< T >::transfer().
Referenced by Foam::edgeMeshTools::featureProximity().


| void allNearestFeatureEdges | ( | const point & | sample, |
| const scalar | searchRadiusSqr, | ||
| List< pointIndexHit > & | info ) const |
Find all the feature edges within searchDistSqr of sample.
Definition at line 754 of file extendedEdgeMesh.C.
References DynamicList< T, SizeMin >::append(), edgeTreesByType(), forAll, UPtrList< T >::size(), List< T >::transfer(), and tree().
Referenced by Foam::edgeMeshTools::featureProximity().


|
inline |
Return the index of the start of the convex feature points.
Definition at line 23 of file extendedEdgeMeshI.H.
References convexStart_.
Referenced by sortedOrder().

|
inline |
Return the index of the start of the concave feature points.
Definition at line 29 of file extendedEdgeMeshI.H.
References concaveStart_.
Referenced by add(), autoMap(), extendedEdgeMesh(), extendedEdgeMesh(), extendedFeatureEdgeMesh::extendedFeatureEdgeMesh(), flipNormals(), sortedOrder(), extendedFeatureEdgeMesh::TypeName(), and Foam::edgeMeshTools::writeStats().

|
inline |
Return the index of the start of the mixed type feature points.
Definition at line 35 of file extendedEdgeMeshI.H.
References mixedStart_.
Referenced by add(), autoMap(), extendedEdgeMesh(), extendedEdgeMesh(), extendedFeatureEdgeMesh::extendedFeatureEdgeMesh(), flipNormals(), sortedOrder(), extendedFeatureEdgeMesh::TypeName(), and Foam::edgeMeshTools::writeStats().

|
inline |
Return the index of the start of the non-feature points.
Definition at line 41 of file extendedEdgeMeshI.H.
References nonFeatureStart_.
Referenced by add(), autoMap(), extendedEdgeMesh(), extendedEdgeMesh(), extendedFeatureEdgeMesh::extendedFeatureEdgeMesh(), extendedFeatureEdgeMesh::TypeName(), and Foam::edgeMeshTools::writeStats().

|
inline |
Return the index of the start of the external feature edges.
Definition at line 47 of file extendedEdgeMeshI.H.
References externalStart_.
Referenced by sortedOrder().

|
inline |
Return the index of the start of the internal feature edges.
Definition at line 53 of file extendedEdgeMeshI.H.
References internalStart_.
Referenced by add(), autoMap(), extendedEdgeMesh(), extendedEdgeMesh(), extendedFeatureEdgeMesh::extendedFeatureEdgeMesh(), flipNormals(), sortedOrder(), extendedFeatureEdgeMesh::TypeName(), and Foam::edgeMeshTools::writeStats().

|
inline |
Return the index of the start of the flat feature edges.
Definition at line 59 of file extendedEdgeMeshI.H.
References flatStart_.
Referenced by add(), autoMap(), extendedEdgeMesh(), extendedEdgeMesh(), extendedFeatureEdgeMesh::extendedFeatureEdgeMesh(), flipNormals(), sortedOrder(), extendedFeatureEdgeMesh::TypeName(), and Foam::edgeMeshTools::writeStats().

|
inline |
Return the index of the start of the open feature edges.
Definition at line 65 of file extendedEdgeMeshI.H.
References openStart_.
Referenced by add(), autoMap(), extendedEdgeMesh(), extendedEdgeMesh(), extendedFeatureEdgeMesh::extendedFeatureEdgeMesh(), sortedOrder(), extendedFeatureEdgeMesh::TypeName(), and Foam::edgeMeshTools::writeStats().

|
inline |
Return the index of the start of the multiply-connected feature.
edges
Definition at line 71 of file extendedEdgeMeshI.H.
References multipleStart_.
Referenced by add(), autoMap(), extendedEdgeMesh(), extendedEdgeMesh(), extendedFeatureEdgeMesh::extendedFeatureEdgeMesh(), sortedOrder(), extendedFeatureEdgeMesh::TypeName(), and Foam::edgeMeshTools::writeStats().

|
inline |
Return whether or not the point index is a feature point.
Definition at line 77 of file extendedEdgeMeshI.H.
References nonFeatureStart_.
Referenced by featurePointNormals().

|
inline |
Return the normals of the surfaces adjacent to the feature edges.
and points
Definition at line 83 of file extendedEdgeMeshI.H.
References normals_.
Referenced by add(), autoMap(), extendedEdgeMesh(), extendedEdgeMesh(), extendedFeatureEdgeMesh::extendedFeatureEdgeMesh(), flipNormals(), and extendedFeatureEdgeMesh::TypeName().

|
inline |
Return.
Definition at line 90 of file extendedEdgeMeshI.H.
References normalVolumeTypes_.
Referenced by autoMap(), extendedEdgeMesh(), extendedEdgeMesh(), extendedFeatureEdgeMesh::extendedFeatureEdgeMesh(), and extendedFeatureEdgeMesh::TypeName().

|
inline |
Return the edgeDirection vectors.
Definition at line 96 of file extendedEdgeMeshI.H.
References edgeDirections_.
Referenced by add(), autoMap(), edgeDirection(), extendedEdgeMesh(), extendedEdgeMesh(), extendedFeatureEdgeMesh::extendedFeatureEdgeMesh(), flipNormals(), sortPointsAndEdges(), and extendedFeatureEdgeMesh::TypeName().

|
inline |
Definition at line 104 of file extendedEdgeMeshI.H.
References normalDirections_.
Referenced by autoMap(), extendedEdgeMesh(), extendedEdgeMesh(), extendedFeatureEdgeMesh::extendedFeatureEdgeMesh(), sortPointsAndEdges(), and extendedFeatureEdgeMesh::TypeName().

|
inline |
Return the direction of edgeI, pointing away from ptI.
Definition at line 110 of file extendedEdgeMeshI.H.
References e, edgeDirections(), edgeMesh::edges(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, and Foam::Zero.

|
inline |
Return the indices of the normals that are adjacent to the.
feature edges
Definition at line 139 of file extendedEdgeMeshI.H.
References edgeNormals_.
Referenced by add(), autoMap(), edgeNormals(), extendedEdgeMesh(), extendedEdgeMesh(), extendedFeatureEdgeMesh::extendedFeatureEdgeMesh(), flipNormals(), sortPointsAndEdges(), and extendedFeatureEdgeMesh::TypeName().

|
inline |
Return the normal vectors for a given set of normal indices.
Definition at line 146 of file extendedEdgeMeshI.H.
References forAll, normals_, and UList< T >::size().

|
inline |
Return the normal vectors for a given edge.
Definition at line 162 of file extendedEdgeMeshI.H.
References edgeNormals(), and edgeNormals_.

|
inline |
Return the indices of the normals that are adjacent to the.
feature points
Definition at line 170 of file extendedEdgeMeshI.H.
References featurePointNormals_.
Referenced by add(), autoMap(), extendedEdgeMesh(), extendedEdgeMesh(), extendedFeatureEdgeMesh::extendedFeatureEdgeMesh(), flipNormals(), sortPointsAndEdges(), and extendedFeatureEdgeMesh::TypeName().

|
inline |
Return the normal vectors for a given feature point.
Definition at line 176 of file extendedEdgeMeshI.H.
References Foam::endl(), featurePoint(), featurePointNormals_, forAll, normals_, UList< T >::size(), and WarningInFunction.

|
inline |
Return the edge labels for a given feature point. Edges are.
ordered by the faces that they share. The edge labels correspond to the entry in edges().
Definition at line 205 of file extendedEdgeMeshI.H.
References featurePointEdges_.
Referenced by autoMap(), extendedEdgeMesh(), extendedEdgeMesh(), extendedFeatureEdgeMesh::extendedFeatureEdgeMesh(), and extendedFeatureEdgeMesh::TypeName().

|
inline |
Return the feature edges which are on the boundary between.
regions
Definition at line 211 of file extendedEdgeMeshI.H.
References regionEdges_.
Referenced by add(), autoMap(), extendedEdgeMesh(), extendedEdgeMesh(), extendedFeatureEdgeMesh::extendedFeatureEdgeMesh(), flipNormals(), refinementFeatures::regionEdgeTrees(), sortPointsAndEdges(), and extendedFeatureEdgeMesh::TypeName().

|
inline |
Return the pointStatus of a specified point.
Definition at line 218 of file extendedEdgeMeshI.H.
References CONCAVE, concaveStart_, CONVEX, MIXED, mixedStart_, NONFEATURE, and nonFeatureStart_.
Referenced by mergePointsAndSort(), and trim().

|
inline |
Return the edgeStatus of a specified edge.
Definition at line 238 of file extendedEdgeMeshI.H.
References EXTERNAL, FLAT, flatStart_, INTERNAL, internalStart_, MULTIPLE, multipleStart_, OPEN, and openStart_.
Referenced by classifyFeaturePoint(), mergePointsAndSort(), and trim().

|
inline |
Return the baffle faces of a specified edge.
Definition at line 261 of file extendedEdgeMeshI.H.
References edgeBaffles(), edgeNormals_, normalVolumeTypes_, and UList< T >::size().
Referenced by edgeBaffles().


| const Foam::indexedOctree< Foam::treeDataPoint > & pointTree | ( | ) | const |
Demand driven construction of octree for feature points.
Definition at line 792 of file extendedEdgeMesh.C.
References e, Foam::identity(), nonFeatureStart_, points, pointTree_, and rndGen.
Referenced by allNearestFeaturePoints(), and nearestFeaturePoint().


| const Foam::indexedOctree< Foam::treeDataEdge > & edgeTree | ( | ) | const |
Demand driven construction of octree for boundary edges.
Definition at line 826 of file extendedEdgeMesh.C.
References e, edgeMesh::edges(), edgeTree_, points, and rndGen.
Referenced by nearestFeatureEdge().


| const Foam::PtrList< Foam::indexedOctree< Foam::treeDataEdge > > & edgeTreesByType | ( | ) | const |
Demand driven construction of octree for boundary edges by type.
Definition at line 858 of file extendedEdgeMesh.C.
References e, edgeMesh::edges(), edgeTreesByType_, externalStart_, flatStart_, forAll, internalStart_, multipleStart_, nEdgeTypes, openStart_, points, rndGen, and edgeMesh::size().
Referenced by allNearestFeatureEdges(), and nearestFeatureEdgeByType().


| void transfer | ( | extendedEdgeMesh & | mesh | ) |
Transfer the contents of the argument and annul the argument.
Definition at line 914 of file extendedEdgeMesh.C.
References concaveStart_, edgeDirections_, edgeNormals_, edgeTree_, edgeTreesByType_, extendedEdgeMesh(), featurePointEdges_, featurePointNormals_, flatStart_, internalStart_, mesh, mixedStart_, multipleStart_, nonFeatureStart_, normalDirections_, normals_, normalVolumeTypes_, openStart_, pointTree_, regionEdges_, and edgeMesh::transfer().
Referenced by autoMap(), and read().


|
virtual |
Clear all storage.
Reimplemented from edgeMesh.
Definition at line 946 of file extendedEdgeMesh.C.
References edgeMesh::clear(), concaveStart_, edgeDirections_, edgeNormals_, edgeTree_, edgeTreesByType_, featurePointEdges_, featurePointNormals_, flatStart_, internalStart_, mixedStart_, multipleStart_, nonFeatureStart_, normalDirections_, normals_, normalVolumeTypes_, openStart_, pointTree_, and regionEdges_.

| void add | ( | const extendedEdgeMesh & | fem | ) |
Add extendedEdgeMesh. No filtering of duplicates.
Definition at line 970 of file extendedEdgeMesh.C.
References DynamicField< T, SizeMin >::append(), DynamicList< T, SizeMin >::append(), concaveStart(), concaveStart_, e, edgeDirections(), edgeDirections_, edgeMesh::edgeMesh(), edgeNormals(), edgeNormals_, edgeMesh::edges(), edgeTree_, edgeTreesByType_, extendedEdgeMesh(), featurePointNormals(), featurePointNormals_, flatStart(), flatStart_, forAll, internalStart(), internalStart_, mixedStart(), mixedStart_, multipleStart(), multipleStart_, newPointi, nonFeatureStart(), nonFeatureStart_, normals(), normals_, openStart(), openStart_, edgeMesh::points(), points, pointTree_, regionEdges(), regionEdges_, Field< Type >::rmap(), edgeMesh::size(), UList< T >::size(), and edgeMesh::transfer().

| void flipNormals | ( | ) |
Flip normals. All concave become convex, all internal external.
etc.
Definition at line 1240 of file extendedEdgeMesh.C.
References concaveStart(), concaveStart_, e, edgeDirections(), edgeDirections_, edgeMesh::edgeMesh(), edgeNormals(), edgeNormals_, edgeMesh::edges(), edgeTree_, edgeTreesByType_, featurePointNormals(), featurePointNormals_, flatStart(), forAll, Foam::identity(), internalStart(), internalStart_, mixedStart(), newPointi, normals(), normals_, points, pointTree_, regionEdges(), regionEdges_, Field< Type >::rmap(), edgeMesh::size(), and edgeMesh::transfer().

| void autoMap | ( | const pointField & | subPoints, |
| const edgeList & | subEdges, | ||
| const labelList & | pointMap, | ||
| const labelList & | edgeMap ) |
Update with derived geometry.
Definition at line 1351 of file extendedEdgeMesh.C.
References DynamicList< T, SizeMin >::append(), concaveStart(), edgeDirections(), edgeNormals(), edgeMesh::edges(), extendedEdgeMesh(), featurePointEdges(), featurePointNormals(), flatStart(), forAll, internalStart(), mixedStart(), multipleStart(), nonFeatureStart(), normalDirections(), normals(), normalVolumeTypes(), openStart(), regionEdges(), bitSet::set(), List< T >::setSize(), edgeMesh::size(), UList< T >::size(), bitSet::test(), transfer(), and List< T >::transfer().
Referenced by cut(), mergePointsAndSort(), select(), and setFromStatus().


| void trim | ( | const searchableSurface & | surf, |
| const volumeType | volType, | ||
| labelList & | pointMap, | ||
| labelList & | edgeMap ) |
Trim to surface. Keep volType side. Return map from current back.
to original points (-1 for newly introduced points), edges
Definition at line 1591 of file extendedEdgeMesh.C.
References classifyFeaturePoint(), cut(), edgeMesh::edges(), forAll, getEdgeStatus(), getPointStatus(), points, select(), setFromStatus(), edgeMesh::size(), and UList< T >::size().

| void setFromStatus | ( | const List< extendedEdgeMesh::pointStatus > & | pointStat, |
| const List< extendedEdgeMesh::edgeStatus > & | edgeStat, | ||
| labelList & | sortedToOriginalPoint, | ||
| labelList & | sortedToOriginalEdge ) |
Order according to point and edge status.
Definition at line 1674 of file extendedEdgeMesh.C.
References autoMap(), concaveStart_, edgeMesh::edges(), flatStart_, forAll, Foam::inplaceRenumber(), internalStart_, mixedStart_, multipleStart_, nonFeatureStart_, openStart_, points, edgeMesh::size(), and Foam::sortedOrder().
Referenced by mergePointsAndSort(), and trim().


Geometric merge points. Returns true if any points merged.
Return maps from new back to original points/edges.
Definition at line 1742 of file extendedEdgeMesh.C.
References autoMap(), classifyFeaturePoint(), edgeMesh::edges(), forAll, getEdgeStatus(), getPointStatus(), Foam::identity(), Foam::mergePoints(), nPoints, points, setFromStatus(), List< T >::setSize(), edgeMesh::size(), UList< T >::size(), and Foam::Zero.

Read from file. Chooses reader based on explicit extension.
Definition at line 633 of file extendedEdgeMesh.C.
References Foam::name(), Foam::New(), and transfer().
Referenced by extendedEdgeMesh(), and extendedEdgeMesh().


|
virtual |
Read from file. Chooses reader based on detected extension.
Reimplemented from edgeMesh.
Reimplemented in extendedEdgeMeshFormat.
Definition at line 622 of file extendedEdgeMesh.C.
References Foam::name(), and Foam::read().

| void writeObj | ( | const fileName & | prefix | ) | const |
Write all components of the extendedEdgeMesh as obj files.
Definition at line 1831 of file extendedEdgeMesh.C.
References concaveStart_, e, edgeDirections_, edgeMesh::edges(), Foam::endl(), externalStart_, flatStart_, forAll, Foam::Info, internalStart_, mixedStart_, multipleStart_, OFstream::name(), Foam::nl, nonFeatureStart_, openStart_, edgeMesh::pointEdges(), edgeMesh::points(), points, regionEdges_, edgeMesh::write(), OBJstream::write(), and OBJstream::writeLine().

|
virtual |
Dump some information.
Reimplemented from edgeMesh.
Definition at line 1983 of file extendedEdgeMesh.C.
References concaveStart_, convexStart_, Foam::decrIndent(), edgeMesh::edges(), externalStart_, flatStart_, Foam::incrIndent(), Foam::indent(), internalStart_, mixedStart_, multipleStart_, Foam::nl, nonFeatureStart_, openStart_, os(), points, Foam::setw(), UList< T >::size(), and edgeMesh::writeStats().

|
static |
Classify the type of feature edge. Requires face centre 0 to face.
centre 1 vector to distinguish internal from external
Definition at line 2034 of file extendedEdgeMesh.C.
References cosNormalAngleTol_, EXTERNAL, FLAT, INTERNAL, MULTIPLE, NONE, OPEN, and UList< T >::size().
Referenced by sortPointsAndEdges().


|
static |
Determine the ordering.
Definition at line 2075 of file extendedEdgeMesh.C.
References CONCAVE, concaveStart(), CONVEX, convexStart(), Foam::exit(), EXTERNAL, externalStart(), Foam::FatalError, FatalErrorInFunction, FLAT, flatStart(), forAll, INTERNAL, internalStart(), MIXED, mixedStart(), MULTIPLE, multipleStart(), NONE, NONFEATURE, OPEN, openStart(), List< T >::setSize(), and UList< T >::size().

|
friend |
|
friend |
References os().
|
friend |
References extendedEdgeMesh().
|
friend |
References extendedEdgeMesh().
|
static |
Definition at line 100 of file extendedEdgeMesh.H.
|
static |
Definition at line 112 of file extendedEdgeMesh.H.
|
static |
Definition at line 125 of file extendedEdgeMesh.H.
|
static |
Angular closeness tolerance for treating normals as the same.
Definition at line 130 of file extendedEdgeMesh.H.
Referenced by classifyEdge(), and sortPointsAndEdges().
|
staticprotected |
Index of the start of the convex feature points - static as 0.
Definition at line 140 of file extendedEdgeMesh.H.
Referenced by convexStart(), and writeStats().
|
staticprotected |
Index of the start of the external feature edges - static as 0.
Definition at line 145 of file extendedEdgeMesh.H.
Referenced by edgeTreesByType(), externalStart(), writeObj(), and writeStats().
|
protected |
Index of the start of the concave feature points.
Definition at line 153 of file extendedEdgeMesh.H.
Referenced by add(), clear(), concaveStart(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), flipNormals(), getPointStatus(), Foam::operator<<(), Foam::operator>>(), setFromStatus(), sortPointsAndEdges(), transfer(), writeObj(), and writeStats().
|
protected |
Index of the start of the mixed type feature points.
Definition at line 158 of file extendedEdgeMesh.H.
Referenced by add(), clear(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), getPointStatus(), mixedStart(), Foam::operator<<(), Foam::operator>>(), setFromStatus(), sortPointsAndEdges(), transfer(), writeObj(), and writeStats().
|
protected |
Index of the start of the non-feature points.
Definition at line 163 of file extendedEdgeMesh.H.
Referenced by add(), clear(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), featurePoint(), getPointStatus(), nonFeatureStart(), Foam::operator<<(), Foam::operator>>(), pointTree(), setFromStatus(), sortPointsAndEdges(), transfer(), writeObj(), and writeStats().
|
protected |
Index of the start of the internal feature edges.
Definition at line 168 of file extendedEdgeMesh.H.
Referenced by add(), clear(), edgeTreesByType(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), flipNormals(), getEdgeStatus(), internalStart(), Foam::operator<<(), Foam::operator>>(), setFromStatus(), sortPointsAndEdges(), transfer(), writeObj(), and writeStats().
|
protected |
Index of the start of the flat feature edges.
Definition at line 173 of file extendedEdgeMesh.H.
Referenced by add(), clear(), edgeTreesByType(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), flatStart(), getEdgeStatus(), Foam::operator<<(), Foam::operator>>(), setFromStatus(), sortPointsAndEdges(), transfer(), writeObj(), and writeStats().
|
protected |
Index of the start of the open feature edges.
Definition at line 178 of file extendedEdgeMesh.H.
Referenced by add(), clear(), edgeTreesByType(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), getEdgeStatus(), openStart(), Foam::operator<<(), Foam::operator>>(), setFromStatus(), sortPointsAndEdges(), transfer(), writeObj(), and writeStats().
|
protected |
Index of the start of the multiply-connected feature edges.
Definition at line 183 of file extendedEdgeMesh.H.
Referenced by add(), clear(), edgeTreesByType(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), getEdgeStatus(), multipleStart(), Foam::operator<<(), Foam::operator>>(), setFromStatus(), sortPointsAndEdges(), transfer(), writeObj(), and writeStats().
|
protected |
Normals of the features, to be referred to by index by both feature.
points and edges, unsorted
Definition at line 190 of file extendedEdgeMesh.H.
Referenced by add(), clear(), edgeNormals(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), featurePointNormals(), flipNormals(), normals(), Foam::operator<<(), Foam::operator>>(), sortPointsAndEdges(), and transfer().
|
protected |
Type per normal: which side of normal to mesh.
Definition at line 195 of file extendedEdgeMesh.H.
Referenced by clear(), edgeBaffles(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), normalVolumeTypes(), Foam::operator<<(), Foam::operator>>(), and transfer().
|
protected |
Flat and open edges require the direction of the edge.
Definition at line 200 of file extendedEdgeMesh.H.
Referenced by add(), clear(), edgeDirections(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), extendedFeatureEdgeMesh::extendedFeatureEdgeMesh(), flipNormals(), sortPointsAndEdges(), transfer(), and writeObj().
|
protected |
Starting directions for the edges.
This vector points to the half of the plane defined by the first edge normal.
Definition at line 208 of file extendedEdgeMesh.H.
Referenced by clear(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), normalDirections(), Foam::operator<<(), Foam::operator>>(), sortPointsAndEdges(), and transfer().
|
protected |
Indices of the normals that are adjacent to the feature edges.
Definition at line 213 of file extendedEdgeMesh.H.
Referenced by add(), clear(), edgeBaffles(), edgeNormals(), edgeNormals(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), flipNormals(), Foam::operator<<(), Foam::operator>>(), sortPointsAndEdges(), and transfer().
|
protected |
Indices of the normals that are adjacent to the feature points.
(only valid for 0..nonFeatureStart_-1)
Definition at line 220 of file extendedEdgeMesh.H.
Referenced by add(), clear(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), featurePointNormals(), featurePointNormals(), flipNormals(), Foam::operator<<(), Foam::operator>>(), sortPointsAndEdges(), and transfer().
|
protected |
Indices of feature edges attached to feature points. The edges are.
ordered so that they can be circulated.
Definition at line 227 of file extendedEdgeMesh.H.
Referenced by clear(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), featurePointEdges(), Foam::operator<<(), Foam::operator>>(), sortPointsAndEdges(), and transfer().
|
protected |
Feature edges which are on the boundary between regions.
Definition at line 232 of file extendedEdgeMesh.H.
Referenced by add(), clear(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), flipNormals(), Foam::operator<<(), Foam::operator>>(), regionEdges(), sortPointsAndEdges(), transfer(), and writeObj().
|
mutableprotected |
Search tree for all feature points.
Definition at line 237 of file extendedEdgeMesh.H.
Referenced by add(), clear(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), flipNormals(), pointTree(), and transfer().
|
mutableprotected |
Search tree for all edges.
Definition at line 242 of file extendedEdgeMesh.H.
Referenced by add(), clear(), edgeTree(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), flipNormals(), and transfer().
|
mutableprotected |
Individual search trees for each type of edge.
Definition at line 247 of file extendedEdgeMesh.H.
Referenced by add(), clear(), edgeTreesByType(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), extendedEdgeMesh(), flipNormals(), and transfer().
|
staticconstexpr |
Number of possible point types (i.e. number of slices).
Definition at line 309 of file extendedEdgeMesh.H.
|
staticconstexpr |
Number of possible feature edge types (i.e. number of slices).
Definition at line 314 of file extendedEdgeMesh.H.
Referenced by edgeTreesByType(), and sortPointsAndEdges().