Description of feature edges and points. More...
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 Member Functions | |
TypeName ("extendedEdgeMesh") | |
Runtime type information. More... | |
extendedEdgeMesh () | |
Construct null. More... | |
extendedEdgeMesh (const extendedEdgeMesh &) | |
Construct as copy. More... | |
extendedEdgeMesh (const fileName &) | |
Construct from file name (uses extension to determine type) More... | |
extendedEdgeMesh (const fileName &, const word &ext) | |
Construct from file name (uses extension to determine type) More... | |
extendedEdgeMesh (Istream &) | |
Construct from Istream. More... | |
extendedEdgeMesh (const Xfer< pointField > &, const Xfer< edgeList > &) | |
Construct by transferring components (points, edges) More... | |
extendedEdgeMesh (const surfaceFeatures &sFeat, const boolList &surfBaffleRegions) | |
Construct given a surface with selected edges,points. More... | |
extendedEdgeMesh (const PrimitivePatch< face, List, pointField, point > &surf, const labelList &featureEdges, const labelList ®ionFeatureEdges, const labelList &featurePoints) | |
Construct from PrimitivePatch. More... | |
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. More... | |
declareRunTimeSelectionTable (autoPtr, extendedEdgeMesh, fileExtension,(const fileName &name),(name)) | |
~extendedEdgeMesh () | |
Destructor. More... | |
void | nearestFeaturePoint (const point &sample, scalar searchDistSqr, pointIndexHit &info) const |
Find nearest surface edge for the sample point. More... | |
void | nearestFeatureEdge (const point &sample, scalar searchDistSqr, pointIndexHit &info) const |
Find nearest surface edge for the sample point. More... | |
void | nearestFeatureEdge (const pointField &samples, const scalarField &searchDistSqr, pointIndexHitList &info) const |
Find nearest surface edge for each sample point. More... | |
void | nearestFeatureEdgeByType (const point &sample, const scalarField &searchDistSqr, pointIndexHitList &info) const |
Find the nearest point on each type of feature edge. More... | |
void | allNearestFeaturePoints (const point &sample, scalar searchRadiusSqr, pointIndexHitList &info) const |
Find all the feature points within searchDistSqr of sample. More... | |
void | allNearestFeatureEdges (const point &sample, const scalar searchRadiusSqr, pointIndexHitList &info) const |
Find all the feature edges within searchDistSqr of sample. More... | |
scalar | minDisconnectedDist (const pointIndexHitList &hitList) const |
Return the minimum distance between disconnected edges. More... | |
label | convexStart () const |
Return the index of the start of the convex feature points. More... | |
label | concaveStart () const |
Return the index of the start of the concave feature points. More... | |
label | mixedStart () const |
Return the index of the start of the mixed type feature points. More... | |
label | nonFeatureStart () const |
Return the index of the start of the non-feature points. More... | |
label | externalStart () const |
Return the index of the start of the external feature edges. More... | |
label | internalStart () const |
Return the index of the start of the internal feature edges. More... | |
label | flatStart () const |
Return the index of the start of the flat feature edges. More... | |
label | openStart () const |
Return the index of the start of the open feature edges. More... | |
label | multipleStart () const |
Return the index of the start of the multiply-connected feature. More... | |
bool | featurePoint (label ptI) const |
Return whether or not the point index is a feature point. More... | |
const vectorField & | normals () const |
Return the normals of the surfaces adjacent to the feature edges. More... | |
const List< sideVolumeType > & | normalVolumeTypes () const |
Return. More... | |
const vectorField & | edgeDirections () const |
Return the edgeDirection vectors. More... | |
const labelListList & | normalDirections () const |
vector | edgeDirection (label edgeI, label ptI) const |
Return the direction of edgeI, pointing away from ptI. More... | |
const labelListList & | edgeNormals () const |
Return the indices of the normals that are adjacent to the. More... | |
vectorField | edgeNormals (const labelList &edgeNormIs) const |
Return the normal vectors for a given set of normal indices. More... | |
vectorField | edgeNormals (label edgeI) const |
Return the normal vectors for a given edge. More... | |
const labelListList & | featurePointNormals () const |
Return the indices of the normals that are adjacent to the. More... | |
vectorField | featurePointNormals (label ptI) const |
Return the normal vectors for a given feature point. More... | |
const labelListList & | featurePointEdges () const |
Return the edge labels for a given feature point. Edges are. More... | |
const labelList & | regionEdges () const |
Return the feature edges which are on the boundary between. More... | |
pointStatus | getPointStatus (label ptI) const |
Return the pointStatus of a specified point. More... | |
edgeStatus | getEdgeStatus (label edgeI) const |
Return the edgeStatus of a specified edge. More... | |
PackedList< 2 > | edgeBaffles (label edgeI) const |
Return the baffle faces of a specified edge. More... | |
const indexedOctree< treeDataPoint > & | pointTree () const |
Demand driven construction of octree for feature points. More... | |
const indexedOctree< treeDataEdge > & | edgeTree () const |
Demand driven construction of octree for boundary edges. More... | |
const PtrList< indexedOctree< treeDataEdge > > & | edgeTreesByType () const |
Demand driven construction of octree for boundary edges by type. More... | |
void | transfer (extendedEdgeMesh &) |
Transfer the contents of the argument and annul the argument. More... | |
Xfer< extendedEdgeMesh > | xfer () |
Transfer contents to the Xfer container. More... | |
virtual void | clear () |
Clear all storage. More... | |
void | add (const extendedEdgeMesh &) |
Add extendedEdgeMesh. No filtering of duplicates. More... | |
void | flipNormals () |
Flip normals. All concave become convex, all internal external. More... | |
bool | read (const fileName &, const word &ext) |
Read from file. Chooses reader based on explicit extension. More... | |
virtual bool | read (const fileName &) |
Read from file. Chooses reader based on detected extension. More... | |
void | writeObj (const fileName &prefix, const bool verbose=true) const |
Write all components of the extendedEdgeMesh as obj files. More... | |
virtual void | writeStats (Ostream &os) const |
Dump some information. More... | |
Public Member Functions inherited from edgeMesh | |
TypeName ("edgeMesh") | |
Runtime type information. More... | |
edgeMesh () | |
Construct null. More... | |
edgeMesh (const pointField &, const edgeList &) | |
Construct from components. More... | |
edgeMesh (const Xfer< pointField > &, const Xfer< edgeList > &) | |
Construct by transferring components (points, edges). More... | |
edgeMesh (const edgeMesh &) | |
Construct as copy. More... | |
edgeMesh (const fileName &) | |
Construct from file name (uses extension to determine type) More... | |
edgeMesh (const fileName &, const word &ext) | |
Construct from file name (uses extension to determine type) More... | |
edgeMesh (Istream &) | |
Construct from Istream. More... | |
declareRunTimeSelectionTable (autoPtr, edgeMesh, fileExtension,(const fileName &name),(name)) | |
virtual | ~edgeMesh () |
Destructor. More... | |
declareMemberFunctionSelectionTable (void, edgeMesh, write, fileExtension,(const fileName &name, const edgeMesh &mesh),(name, mesh)) | |
void | transfer (edgeMesh &) |
Transfer the contents of the argument and annul the argument. More... | |
Xfer< edgeMesh > | xfer () |
Transfer contents to the Xfer container. More... | |
bool | read (const fileName &, const word &ext) |
Read from file. Chooses reader based on explicit extension. More... | |
const pointField & | points () const |
Return points. More... | |
const edgeList & | edges () const |
Return edges. More... | |
const labelListList & | pointEdges () const |
Return edges. More... | |
label | regions (labelList &edgeRegion) const |
Find connected regions. Set region number per edge. More... | |
virtual void | reset (const Xfer< pointField > &points, const Xfer< edgeList > &edges) |
Reset primitive data (points, edges) More... | |
virtual void | scalePoints (const scalar) |
Scale points. A non-positive factor is ignored. More... | |
virtual void | mergePoints (const scalar mergeDist, labelList &) |
Merge common points (points within mergeDist). Return map from. More... | |
virtual void | mergeEdges () |
Merge duplicate edges. More... | |
virtual void | write (const fileName &name) const |
Generic write routine. Chooses writer based on extension. More... | |
void | operator= (const edgeMesh &) |
Public Member Functions inherited from edgeMeshFormatsCore | |
edgeMeshFormatsCore () | |
Construct null. More... | |
virtual | ~edgeMeshFormatsCore () |
Destructor. More... | |
Static Public Member Functions | |
static bool | canRead (const fileName &, const bool verbose=false) |
Can we read this file format? More... | |
static bool | canReadType (const word &ext, const bool verbose=false) |
Can we read this file format? More... | |
static bool | canWriteType (const word &ext, const bool verbose=false) |
Can we write this file format type? More... | |
static wordHashSet | readTypes () |
static wordHashSet | writeTypes () |
static autoPtr< extendedEdgeMesh > | New (const fileName &, const word &ext) |
Select constructed from filename (explicit extension) More... | |
static autoPtr< extendedEdgeMesh > | New (const fileName &) |
Select constructed from filename (implicit extension) More... | |
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. More... | |
Static Public Member Functions inherited from edgeMesh | |
static bool | canRead (const fileName &, const bool verbose=false) |
Can we read this file format? More... | |
static bool | canReadType (const word &ext, const bool verbose=false) |
Can we read this file format? More... | |
static bool | canWriteType (const word &ext, const bool verbose=false) |
Can we write this file format type? More... | |
static wordHashSet | readTypes () |
static wordHashSet | writeTypes () |
static autoPtr< edgeMesh > | New (const fileName &, const word &ext) |
Select constructed from filename (explicit extension) More... | |
static autoPtr< edgeMesh > | New (const fileName &) |
Select constructed from filename (implicit extension) More... | |
static void | write (const fileName &, const edgeMesh &) |
Write to file. More... | |
Static Public Member Functions inherited from edgeMeshFormatsCore | |
static bool | checkSupport (const wordHashSet &available, const word &ext, const bool verbose, const word &functionName) |
Static Public Attributes | |
static const Foam::NamedEnum< pointStatus, 4 > | pointStatusNames_ |
static const Foam::NamedEnum< edgeStatus, 6 > | edgeStatusNames_ |
static const Foam::NamedEnum< sideVolumeType, 4 > | sideVolumeTypeNames_ |
static scalar | cosNormalAngleTol_ |
Angular closeness tolerance for treating normals as the same. More... | |
static label | nPointTypes = 4 |
Number of possible point types (i.e. number of slices) More... | |
static label | nEdgeTypes = 5 |
Number of possible feature edge types (i.e. number of slices) More... | |
Static Public Attributes inherited from edgeMeshFormatsCore | |
static word | nativeExt |
The file extension corresponding to 'native' edge format. More... | |
Protected Member Functions | |
pointStatus | classifyFeaturePoint (label ptI) const |
Classify the type of feature point. Requires valid stored member. More... | |
template<class Patch > | |
void | sortPointsAndEdges (const Patch &, const labelList &featureEdges, const labelList ®ionFeatureEdges, const labelList &feaurePoints) |
Protected Member Functions inherited from edgeMesh | |
pointField & | storedPoints () |
Non-const access to global points. More... | |
edgeList & | storedEdges () |
Non-const access to the edges. More... | |
Protected Attributes | |
label | concaveStart_ |
Index of the start of the concave feature points. More... | |
label | mixedStart_ |
Index of the start of the mixed type feature points. More... | |
label | nonFeatureStart_ |
Index of the start of the non-feature points. More... | |
label | internalStart_ |
Index of the start of the internal feature edges. More... | |
label | flatStart_ |
Index of the start of the flat feature edges. More... | |
label | openStart_ |
Index of the start of the open feature edges. More... | |
label | multipleStart_ |
Index of the start of the multiply-connected feature edges. More... | |
vectorField | normals_ |
Normals of the features, to be referred to by index by both feature. More... | |
List< sideVolumeType > | normalVolumeTypes_ |
Type per normal: which side of normal to mesh. More... | |
vectorField | edgeDirections_ |
Flat and open edges require the direction of the edge. More... | |
labelListList | normalDirections_ |
Starting directions for the edges. More... | |
labelListList | edgeNormals_ |
Indices of the normals that are adjacent to the feature edges. More... | |
labelListList | featurePointNormals_ |
Indices of the normals that are adjacent to the feature points. More... | |
labelListList | featurePointEdges_ |
Indices of feature edges attached to feature points. The edges are. More... | |
labelList | regionEdges_ |
Feature edges which are on the boundary between regions. More... | |
autoPtr< indexedOctree< treeDataPoint > > | pointTree_ |
Search tree for all feature points. More... | |
autoPtr< indexedOctree< treeDataEdge > > | edgeTree_ |
Search tree for all edges. More... | |
PtrList< indexedOctree< treeDataEdge > > | edgeTreesByType_ |
Individual search trees for each type of edge. More... | |
Static Protected Attributes | |
static label | convexStart_ = 0 |
Index of the start of the convex feature points - static as 0. More... | |
static label | externalStart_ = 0 |
Index of the start of the external feature edges - static as 0. More... | |
Friends | |
Istream & | operator>> (Istream &is, 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 (IFstream &) |
Read non-comment line. More... | |
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 85 of file extendedEdgeMesh.H.
enum pointStatus |
Enumerator | |
---|---|
CONVEX | |
CONCAVE | |
MIXED | |
NONFEATURE |
Definition at line 95 of file extendedEdgeMesh.H.
enum edgeStatus |
Enumerator | |
---|---|
EXTERNAL | |
INTERNAL | |
FLAT | |
OPEN | |
MULTIPLE | |
NONE |
Definition at line 105 of file extendedEdgeMesh.H.
enum sideVolumeType |
Normals point to the outside.
Enumerator | |
---|---|
INSIDE | |
OUTSIDE | |
BOTH | |
NEITHER |
Definition at line 119 of file extendedEdgeMesh.H.
extendedEdgeMesh | ( | ) |
Construct null.
Definition at line 266 of file extendedEdgeMesh.C.
Referenced by extendedEdgeMesh::extendedEdgeMesh().
|
explicit |
Construct as copy.
Definition at line 290 of file extendedEdgeMesh.C.
extendedEdgeMesh | ( | const fileName & | name | ) |
Construct from file name (uses extension to determine type)
Definition at line 538 of file extendedEdgeMesh.C.
References extendedEdgeMesh::read().
extendedEdgeMesh | ( | const fileName & | name, |
const word & | ext | ||
) |
Construct from file name (uses extension to determine type)
Definition at line 509 of file extendedEdgeMesh.C.
References extendedEdgeMesh::read().
extendedEdgeMesh | ( | Istream & | is | ) |
Construct from Istream.
Definition at line 314 of file extendedEdgeMesh.C.
References extendedEdgeMesh::extendedEdgeMesh().
extendedEdgeMesh | ( | const Xfer< pointField > & | pointLst, |
const Xfer< edgeList > & | edgeLst | ||
) |
Construct by transferring components (points, edges)
Definition at line 321 of file extendedEdgeMesh.C.
References extendedEdgeMesh::extendedEdgeMesh().
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 349 of file extendedEdgeMesh.C.
References extendedEdgeMesh::BOTH, PrimitivePatch< Face, FaceList, PointField, PointType >::edgeFaces(), extendedEdgeMesh::extendedEdgeMesh(), Foam::faceMap(), surfaceFeatures::featureEdges(), surfaceFeatures::featurePoints(), forAll, Foam::identity(), extendedEdgeMesh::INSIDE, extendedEdgeMesh::normals_, extendedEdgeMesh::normalVolumeTypes_, surfaceFeatures::nRegionEdges(), List< T >::setSize(), List< T >::size(), extendedEdgeMesh::sortPointsAndEdges(), and surfaceFeatures::surface().
extendedEdgeMesh | ( | const PrimitivePatch< face, List, pointField, point > & | surf, |
const labelList & | featureEdges, | ||
const labelList & | regionFeatureEdges, | ||
const labelList & | featurePoints | ||
) |
Construct from PrimitivePatch.
Definition at line 428 of file extendedEdgeMesh.C.
References extendedEdgeMesh::extendedEdgeMesh(), and extendedEdgeMesh::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 466 of file extendedEdgeMesh.C.
References extendedEdgeMesh::extendedEdgeMesh().
~extendedEdgeMesh | ( | ) |
Destructor.
Definition at line 566 of file extendedEdgeMesh.C.
TypeName | ( | "extendedEdgeMesh" | ) |
Runtime type information.
|
protected |
Classify the type of feature point. Requires valid stored member.
data for edges and normals.
Definition at line 175 of file extendedEdgeMesh.C.
References extendedEdgeMesh::classifyEdge(), forAll, and List< T >::size().
Referenced by extendedEdgeMesh::canRead().
|
protected |
Definition at line 37 of file extendedEdgeMeshTemplates.C.
References Foam::abort(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), Vector< Cmpt >::centre(), Foam::cross(), edge::end(), UList< T >::end(), Foam::faceMap(), Foam::FatalError, FatalErrorInFunction, Foam::findIndex(), forAll, Foam::identity(), Foam::inplaceRenumber(), Foam::inplaceReorder(), Foam::invert(), k, Foam::mag(), Foam::nl, points, DynamicList< T, SizeInc, SizeMult, SizeDiv >::setCapacity(), List< T >::setSize(), List< T >::size(), edge::start(), List< T >::transfer(), edge::vec(), vectorField(), Foam::xferMove(), and Foam::Zero.
Referenced by extendedEdgeMesh::extendedEdgeMesh().
|
static |
Can we read this file format?
Definition at line 157 of file extendedEdgeMesh.C.
References extendedEdgeMesh::classifyFeaturePoint(), fileName::ext(), and fileName::lessExt().
Referenced by extendedEdgeMesh::canWriteType().
|
static |
Can we read this file format?
Definition at line 125 of file extendedEdgeMesh.C.
References extendedEdgeMesh::canWriteType().
Referenced by extendedEdgeMesh::writeTypes().
|
static |
Can we write this file format type?
Definition at line 141 of file extendedEdgeMesh.C.
References extendedEdgeMesh::canRead().
Referenced by extendedEdgeMesh::canReadType().
|
static |
Definition at line 109 of file extendedEdgeMesh.C.
|
static |
Definition at line 115 of file extendedEdgeMesh.C.
References extendedEdgeMesh::canReadType().
declareRunTimeSelectionTable | ( | autoPtr | , |
extendedEdgeMesh | , | ||
fileExtension | , | ||
(const fileName &name) | , | ||
(name) | |||
) |
|
static |
Select constructed from filename (explicit extension)
Definition at line 40 of file extendedEdgeMeshNew.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::name(), and Foam::nl.
Referenced by extendedEdgeMesh::read().
|
static |
Select constructed from filename (implicit extension)
Definition at line 63 of file extendedEdgeMeshNew.C.
References fileName::ext(), fileName::lessExt(), and Foam::New().
void nearestFeaturePoint | ( | const point & | sample, |
scalar | searchDistSqr, | ||
pointIndexHit & | info | ||
) | const |
Find nearest surface edge for the sample point.
Definition at line 601 of file extendedEdgeMesh.C.
References extendedEdgeMesh::nearestFeatureEdge(), and extendedEdgeMesh::pointTree().
Referenced by extendedEdgeMesh::read().
void nearestFeatureEdge | ( | const point & | sample, |
scalar | searchDistSqr, | ||
pointIndexHit & | info | ||
) | const |
Find nearest surface edge for the sample point.
Definition at line 616 of file extendedEdgeMesh.C.
References extendedEdgeMesh::edgeTree().
Referenced by extendedEdgeMesh::nearestFeatureEdge(), and extendedEdgeMesh::nearestFeaturePoint().
void nearestFeatureEdge | ( | const pointField & | samples, |
const scalarField & | searchDistSqr, | ||
pointIndexHitList & | info | ||
) | const |
Find nearest surface edge for each sample point.
Definition at line 631 of file extendedEdgeMesh.C.
References forAll, extendedEdgeMesh::nearestFeatureEdge(), extendedEdgeMesh::nearestFeatureEdgeByType(), List< T >::setSize(), and List< T >::size().
void nearestFeatureEdgeByType | ( | const point & | sample, |
const scalarField & | searchDistSqr, | ||
pointIndexHitList & | info | ||
) | const |
Find the nearest point on each type of feature edge.
Definition at line 652 of file extendedEdgeMesh.C.
References extendedEdgeMesh::allNearestFeaturePoints(), extendedEdgeMesh::edgeTreesByType(), extendedEdgeMesh::externalStart_, extendedEdgeMesh::flatStart_, forAll, extendedEdgeMesh::internalStart_, extendedEdgeMesh::multipleStart_, extendedEdgeMesh::openStart_, List< T >::setSize(), and UPtrList< T >::size().
Referenced by extendedEdgeMesh::nearestFeatureEdge().
void allNearestFeaturePoints | ( | const point & | sample, |
scalar | searchRadiusSqr, | ||
pointIndexHitList & | info | ||
) | const |
Find all the feature points within searchDistSqr of sample.
Definition at line 688 of file extendedEdgeMesh.C.
References extendedEdgeMesh::allNearestFeatureEdges(), forAll, edgeMesh::points(), extendedEdgeMesh::pointTree(), List< T >::size(), and List< T >::transfer().
Referenced by extendedEdgeMesh::nearestFeatureEdgeByType().
void allNearestFeatureEdges | ( | const point & | sample, |
const scalar | searchRadiusSqr, | ||
pointIndexHitList & | info | ||
) | const |
Find all the feature edges within searchDistSqr of sample.
Definition at line 719 of file extendedEdgeMesh.C.
References Foam::e, edgeMesh::edges(), extendedEdgeMesh::edgeTreesByType(), extendedEdgeMesh::externalStart_, extendedEdgeMesh::flatStart_, forAll, PointHit< Point >::hit(), extendedEdgeMesh::internalStart_, edge::line(), extendedEdgeMesh::minDisconnectedDist(), extendedEdgeMesh::multipleStart_, line< Point, PointRef >::nearestDist(), extendedEdgeMesh::openStart_, edgeMesh::points(), PointHit< Point >::rawPoint(), List< T >::setSize(), UPtrList< T >::size(), and List< T >::transfer().
Referenced by extendedEdgeMesh::allNearestFeaturePoints().
Foam::scalar minDisconnectedDist | ( | const pointIndexHitList & | hitList | ) | const |
Return the minimum distance between disconnected edges.
Definition at line 775 of file extendedEdgeMesh.C.
References edge::connected(), edgeMesh::edges(), Foam::GREAT, PointIndexHit< Point >::hit(), PointIndexHit< Point >::hitPoint(), PointIndexHit< Point >::index(), Foam::mag(), Foam::min(), Foam::minDist(), and List< T >::size().
Referenced by extendedEdgeMesh::allNearestFeatureEdges().
|
inline |
Return the index of the start of the convex feature points.
Definition at line 28 of file extendedEdgeMeshI.H.
References extendedEdgeMesh::convexStart_.
|
inline |
Return the index of the start of the concave feature points.
Definition at line 34 of file extendedEdgeMeshI.H.
References extendedEdgeMesh::concaveStart_.
Referenced by extendedEdgeMesh::add(), and extendedEdgeMesh::flipNormals().
|
inline |
Return the index of the start of the mixed type feature points.
Definition at line 40 of file extendedEdgeMeshI.H.
References extendedEdgeMesh::mixedStart_.
Referenced by extendedEdgeMesh::add(), and extendedEdgeMesh::flipNormals().
|
inline |
Return the index of the start of the non-feature points.
Definition at line 46 of file extendedEdgeMeshI.H.
References extendedEdgeMesh::nonFeatureStart_.
Referenced by extendedEdgeMesh::add().
|
inline |
Return the index of the start of the external feature edges.
Definition at line 52 of file extendedEdgeMeshI.H.
References extendedEdgeMesh::externalStart_.
|
inline |
Return the index of the start of the internal feature edges.
Definition at line 58 of file extendedEdgeMeshI.H.
References extendedEdgeMesh::internalStart_.
Referenced by extendedEdgeMesh::add(), and extendedEdgeMesh::flipNormals().
|
inline |
Return the index of the start of the flat feature edges.
Definition at line 64 of file extendedEdgeMeshI.H.
References extendedEdgeMesh::flatStart_.
Referenced by extendedEdgeMesh::add(), and extendedEdgeMesh::flipNormals().
|
inline |
Return the index of the start of the open feature edges.
Definition at line 70 of file extendedEdgeMeshI.H.
References extendedEdgeMesh::openStart_.
Referenced by extendedEdgeMesh::add().
|
inline |
Return the index of the start of the multiply-connected feature.
edges
Definition at line 76 of file extendedEdgeMeshI.H.
References extendedEdgeMesh::multipleStart_.
Referenced by extendedEdgeMesh::add().
|
inline |
Return whether or not the point index is a feature point.
Definition at line 82 of file extendedEdgeMeshI.H.
References extendedEdgeMesh::nonFeatureStart_.
Referenced by extendedEdgeMesh::featurePointNormals().
|
inline |
Return the normals of the surfaces adjacent to the feature edges.
and points
Definition at line 88 of file extendedEdgeMeshI.H.
References extendedEdgeMesh::normals_.
Referenced by extendedEdgeMesh::add(), and extendedEdgeMesh::flipNormals().
|
inline |
Return.
Definition at line 95 of file extendedEdgeMeshI.H.
References extendedEdgeMesh::normalVolumeTypes_.
|
inline |
Return the edgeDirection vectors.
Definition at line 101 of file extendedEdgeMeshI.H.
References extendedEdgeMesh::edgeDirections_.
Referenced by extendedEdgeMesh::add(), extendedEdgeMesh::edgeDirection(), and extendedEdgeMesh::flipNormals().
|
inline |
Definition at line 109 of file extendedEdgeMeshI.H.
References extendedEdgeMesh::edgeDirection(), and extendedEdgeMesh::normalDirections_.
|
inline |
Return the direction of edgeI, pointing away from ptI.
Definition at line 116 of file extendedEdgeMeshI.H.
References Foam::e, extendedEdgeMesh::edgeDirections(), edgeMesh::edges(), edge::end(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, edge::start(), and Foam::Zero.
Referenced by extendedEdgeMesh::normalDirections().
|
inline |
Return the indices of the normals that are adjacent to the.
feature edges
Definition at line 144 of file extendedEdgeMeshI.H.
References extendedEdgeMesh::edgeNormals_.
Referenced by extendedEdgeMesh::add(), extendedEdgeMesh::edgeNormals(), and extendedEdgeMesh::flipNormals().
|
inline |
Return the normal vectors for a given set of normal indices.
Definition at line 152 of file extendedEdgeMeshI.H.
References forAll, extendedEdgeMesh::normals_, and List< T >::size().
|
inline |
Return the normal vectors for a given edge.
Definition at line 167 of file extendedEdgeMeshI.H.
References extendedEdgeMesh::edgeNormals(), and extendedEdgeMesh::edgeNormals_.
|
inline |
Return the indices of the normals that are adjacent to the.
feature points
Definition at line 175 of file extendedEdgeMeshI.H.
References extendedEdgeMesh::featurePointNormals_.
Referenced by extendedEdgeMesh::add(), and extendedEdgeMesh::flipNormals().
|
inline |
Return the normal vectors for a given feature point.
Definition at line 182 of file extendedEdgeMeshI.H.
References Foam::endl(), extendedEdgeMesh::featurePoint(), extendedEdgeMesh::featurePointNormals_, forAll, extendedEdgeMesh::normals_, List< 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 210 of file extendedEdgeMeshI.H.
References extendedEdgeMesh::featurePointEdges_.
|
inline |
Return the feature edges which are on the boundary between.
regions
Definition at line 216 of file extendedEdgeMeshI.H.
References extendedEdgeMesh::regionEdges_.
Referenced by extendedEdgeMesh::add(), extendedEdgeMesh::flipNormals(), and refinementFeatures::regionEdgeTrees().
|
inline |
Return the pointStatus of a specified point.
Definition at line 223 of file extendedEdgeMeshI.H.
References extendedEdgeMesh::CONCAVE, extendedEdgeMesh::concaveStart_, extendedEdgeMesh::CONVEX, extendedEdgeMesh::MIXED, extendedEdgeMesh::mixedStart_, extendedEdgeMesh::NONFEATURE, and extendedEdgeMesh::nonFeatureStart_.
|
inline |
Return the edgeStatus of a specified edge.
Definition at line 245 of file extendedEdgeMeshI.H.
References extendedEdgeMesh::edgeBaffles(), extendedEdgeMesh::EXTERNAL, extendedEdgeMesh::FLAT, extendedEdgeMesh::flatStart_, extendedEdgeMesh::INTERNAL, extendedEdgeMesh::internalStart_, extendedEdgeMesh::MULTIPLE, extendedEdgeMesh::multipleStart_, extendedEdgeMesh::OPEN, and extendedEdgeMesh::openStart_.
|
inline |
Return the baffle faces of a specified edge.
Definition at line 271 of file extendedEdgeMeshI.H.
References PackedList< nBits >::append(), extendedEdgeMesh::edgeNormals_, forAll, extendedEdgeMesh::normalVolumeTypes_, and List< T >::size().
Referenced by extendedEdgeMesh::getEdgeStatus().
const Foam::indexedOctree< Foam::treeDataPoint > & pointTree | ( | ) | const |
Demand driven construction of octree for feature points.
Definition at line 825 of file extendedEdgeMesh.C.
References Foam::e, Foam::identity(), extendedEdgeMesh::nonFeatureStart_, edgeMesh::points(), and extendedEdgeMesh::pointTree_.
Referenced by extendedEdgeMesh::allNearestFeaturePoints(), and extendedEdgeMesh::nearestFeaturePoint().
const Foam::indexedOctree< Foam::treeDataEdge > & edgeTree | ( | ) | const |
Demand driven construction of octree for boundary edges.
Definition at line 857 of file extendedEdgeMesh.C.
References Foam::e, edgeMesh::edges(), extendedEdgeMesh::edgeTree_, Foam::identity(), and edgeMesh::points().
Referenced by extendedEdgeMesh::nearestFeatureEdge().
const Foam::PtrList< Foam::indexedOctree< Foam::treeDataEdge > > & edgeTreesByType | ( | ) | const |
Demand driven construction of octree for boundary edges by type.
Definition at line 891 of file extendedEdgeMesh.C.
References Foam::e, edgeMesh::edges(), extendedEdgeMesh::edgeTreesByType_, extendedEdgeMesh::externalStart_, extendedEdgeMesh::flatStart_, forAll, Foam::identity(), extendedEdgeMesh::internalStart_, extendedEdgeMesh::multipleStart_, extendedEdgeMesh::nEdgeTypes, extendedEdgeMesh::openStart_, and edgeMesh::points().
Referenced by extendedEdgeMesh::allNearestFeatureEdges(), and extendedEdgeMesh::nearestFeatureEdgeByType().
void transfer | ( | extendedEdgeMesh & | mesh | ) |
Transfer the contents of the argument and annul the argument.
Definition at line 947 of file extendedEdgeMesh.C.
References extendedEdgeMesh::concaveStart_, extendedEdgeMesh::edgeDirections_, extendedEdgeMesh::edgeNormals_, extendedEdgeMesh::edgeTree_, extendedEdgeMesh::edgeTreesByType_, extendedEdgeMesh::featurePointEdges_, extendedEdgeMesh::featurePointNormals_, extendedEdgeMesh::flatStart_, extendedEdgeMesh::internalStart_, extendedEdgeMesh::mixedStart_, extendedEdgeMesh::multipleStart_, extendedEdgeMesh::nonFeatureStart_, extendedEdgeMesh::normalDirections_, extendedEdgeMesh::normals_, extendedEdgeMesh::normalVolumeTypes_, extendedEdgeMesh::openStart_, extendedEdgeMesh::pointTree_, extendedEdgeMesh::regionEdges_, edgeMesh::transfer(), and List< T >::transfer().
Referenced by extendedEdgeMesh::read().
Foam::Xfer< Foam::extendedEdgeMesh > xfer | ( | ) |
Transfer contents to the Xfer container.
Definition at line 972 of file extendedEdgeMesh.C.
|
virtual |
Clear all storage.
Reimplemented from edgeMesh.
Definition at line 978 of file extendedEdgeMesh.C.
References List< T >::clear(), edgeMesh::clear(), extendedEdgeMesh::concaveStart_, extendedEdgeMesh::edgeDirections_, extendedEdgeMesh::edgeNormals_, extendedEdgeMesh::edgeTree_, extendedEdgeMesh::edgeTreesByType_, extendedEdgeMesh::featurePointEdges_, extendedEdgeMesh::featurePointNormals_, extendedEdgeMesh::flatStart_, extendedEdgeMesh::internalStart_, extendedEdgeMesh::mixedStart_, extendedEdgeMesh::multipleStart_, extendedEdgeMesh::nonFeatureStart_, extendedEdgeMesh::normalDirections_, extendedEdgeMesh::normals_, extendedEdgeMesh::normalVolumeTypes_, extendedEdgeMesh::openStart_, extendedEdgeMesh::pointTree_, and extendedEdgeMesh::regionEdges_.
void add | ( | const extendedEdgeMesh & | fem | ) |
Add extendedEdgeMesh. No filtering of duplicates.
Definition at line 1002 of file extendedEdgeMesh.C.
References DynamicField< T, SizeInc, SizeMult, SizeDiv >::append(), extendedEdgeMesh::concaveStart(), extendedEdgeMesh::concaveStart_, Foam::e, extendedEdgeMesh::edgeDirections(), extendedEdgeMesh::edgeDirections_, extendedEdgeMesh::edgeNormals(), extendedEdgeMesh::edgeNormals_, edgeMesh::edges(), extendedEdgeMesh::edgeTree_, extendedEdgeMesh::edgeTreesByType_, extendedEdgeMesh::featurePointNormals(), extendedEdgeMesh::featurePointNormals_, extendedEdgeMesh::flatStart(), extendedEdgeMesh::flatStart_, forAll, extendedEdgeMesh::internalStart(), extendedEdgeMesh::internalStart_, extendedEdgeMesh::mixedStart(), extendedEdgeMesh::mixedStart_, extendedEdgeMesh::multipleStart(), extendedEdgeMesh::multipleStart_, newPointi, extendedEdgeMesh::nonFeatureStart(), extendedEdgeMesh::nonFeatureStart_, extendedEdgeMesh::normals(), extendedEdgeMesh::normals_, extendedEdgeMesh::openStart(), extendedEdgeMesh::openStart_, edgeMesh::points(), extendedEdgeMesh::pointTree_, extendedEdgeMesh::regionEdges(), extendedEdgeMesh::regionEdges_, edgeMesh::reset(), Field< Type >::rmap(), List< T >::size(), List< T >::transfer(), List< T >::xfer(), and Foam::xferMove().
void flipNormals | ( | ) |
Flip normals. All concave become convex, all internal external.
etc.
Definition at line 1250 of file extendedEdgeMesh.C.
References extendedEdgeMesh::concaveStart(), extendedEdgeMesh::concaveStart_, Foam::e, extendedEdgeMesh::edgeDirections(), extendedEdgeMesh::edgeDirections_, extendedEdgeMesh::edgeNormals(), extendedEdgeMesh::edgeNormals_, edgeMesh::edges(), extendedEdgeMesh::edgeTree_, extendedEdgeMesh::edgeTreesByType_, extendedEdgeMesh::featurePointNormals(), extendedEdgeMesh::featurePointNormals_, extendedEdgeMesh::flatStart(), forAll, Foam::identity(), extendedEdgeMesh::internalStart(), extendedEdgeMesh::internalStart_, extendedEdgeMesh::mixedStart(), newPointi, extendedEdgeMesh::normals(), extendedEdgeMesh::normals_, edgeMesh::points(), extendedEdgeMesh::pointTree_, extendedEdgeMesh::regionEdges(), extendedEdgeMesh::regionEdges_, edgeMesh::reset(), Field< Type >::rmap(), List< T >::size(), List< T >::transfer(), extendedEdgeMesh::writeObj(), List< T >::xfer(), and Foam::xferMove().
Read from file. Chooses reader based on explicit extension.
Definition at line 589 of file extendedEdgeMesh.C.
References extendedEdgeMesh::nearestFeaturePoint(), extendedEdgeMesh::New(), and extendedEdgeMesh::transfer().
Referenced by extendedEdgeMesh::extendedEdgeMesh(), and extendedEdgeMesh::read().
|
virtual |
Read from file. Chooses reader based on detected extension.
Reimplemented from edgeMesh.
Reimplemented in extendedEdgeMeshFormat.
Definition at line 572 of file extendedEdgeMesh.C.
References fileName::ext(), fileName::lessExt(), and extendedEdgeMesh::read().
void writeObj | ( | const fileName & | prefix, |
const bool | verbose = true |
||
) | const |
Write all components of the extendedEdgeMesh as obj files.
Definition at line 1359 of file extendedEdgeMesh.C.
References extendedEdgeMesh::concaveStart_, Foam::e, extendedEdgeMesh::edgeDirections_, edgeMesh::edges(), Foam::endl(), extendedEdgeMesh::externalStart_, extendedEdgeMesh::flatStart_, forAll, Foam::Info, extendedEdgeMesh::internalStart_, extendedEdgeMesh::mixedStart_, extendedEdgeMesh::multipleStart_, OFstream::name(), Foam::nl, extendedEdgeMesh::nonFeatureStart_, extendedEdgeMesh::openStart_, edgeMesh::pointEdges(), edgeMesh::points(), extendedEdgeMesh::regionEdges_, List< T >::size(), edge::start(), OBJstream::write(), and edgeMesh::write().
Referenced by extendedEdgeMesh::flipNormals().
|
virtual |
Dump some information.
Reimplemented from edgeMesh.
Definition at line 1485 of file extendedEdgeMesh.C.
References extendedEdgeMesh::concaveStart_, extendedEdgeMesh::convexStart_, Foam::decrIndent(), edgeMesh::edges(), extendedEdgeMesh::externalStart_, extendedEdgeMesh::flatStart_, Foam::incrIndent(), Foam::indent(), extendedEdgeMesh::internalStart_, extendedEdgeMesh::mixedStart_, extendedEdgeMesh::multipleStart_, Foam::nl, extendedEdgeMesh::nonFeatureStart_, extendedEdgeMesh::openStart_, edgeMesh::points(), Foam::setw(), List< 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 222 of file extendedEdgeMesh.C.
References List< T >::size().
Referenced by extendedEdgeMesh::classifyFeaturePoint().
|
friend |
|
friend |
|
friend |
|
friend |
|
static |
Definition at line 103 of file extendedEdgeMesh.H.
Referenced by NamedEnum< directionType, 3 >::names().
|
static |
Definition at line 116 of file extendedEdgeMesh.H.
Referenced by NamedEnum< directionType, 3 >::names().
|
static |
Definition at line 127 of file extendedEdgeMesh.H.
Referenced by NamedEnum< directionType, 3 >::names(), and searchablePlateFeatures::searchablePlateFeatures().
|
static |
Angular closeness tolerance for treating normals as the same.
Definition at line 130 of file extendedEdgeMesh.H.
Referenced by NamedEnum< directionType, 3 >::names().
|
staticprotected |
Index of the start of the convex feature points - static as 0.
Definition at line 138 of file extendedEdgeMesh.H.
Referenced by extendedEdgeMesh::convexStart(), NamedEnum< directionType, 3 >::names(), and extendedEdgeMesh::writeStats().
|
staticprotected |
Index of the start of the external feature edges - static as 0.
Definition at line 141 of file extendedEdgeMesh.H.
Referenced by extendedEdgeMesh::allNearestFeatureEdges(), extendedEdgeMesh::edgeTreesByType(), extendedEdgeMesh::externalStart(), NamedEnum< directionType, 3 >::names(), extendedEdgeMesh::nearestFeatureEdgeByType(), extendedEdgeMesh::writeObj(), and extendedEdgeMesh::writeStats().
|
protected |
Index of the start of the concave feature points.
Definition at line 147 of file extendedEdgeMesh.H.
Referenced by extendedEdgeMesh::add(), extendedEdgeMesh::clear(), extendedEdgeMesh::concaveStart(), extendedEdgeMesh::flipNormals(), extendedEdgeMesh::getPointStatus(), Foam::operator<<(), Foam::operator>>(), extendedEdgeMesh::transfer(), extendedEdgeMesh::writeObj(), and extendedEdgeMesh::writeStats().
|
protected |
Index of the start of the mixed type feature points.
Definition at line 150 of file extendedEdgeMesh.H.
Referenced by extendedEdgeMesh::add(), extendedEdgeMesh::clear(), extendedEdgeMesh::getPointStatus(), extendedEdgeMesh::mixedStart(), Foam::operator<<(), Foam::operator>>(), extendedEdgeMesh::transfer(), extendedEdgeMesh::writeObj(), and extendedEdgeMesh::writeStats().
|
protected |
Index of the start of the non-feature points.
Definition at line 153 of file extendedEdgeMesh.H.
Referenced by extendedEdgeMesh::add(), extendedEdgeMesh::clear(), extendedEdgeMesh::featurePoint(), extendedEdgeMesh::getPointStatus(), extendedEdgeMesh::nonFeatureStart(), Foam::operator<<(), Foam::operator>>(), extendedEdgeMesh::pointTree(), extendedEdgeMesh::transfer(), extendedEdgeMesh::writeObj(), and extendedEdgeMesh::writeStats().
|
protected |
Index of the start of the internal feature edges.
Definition at line 156 of file extendedEdgeMesh.H.
Referenced by extendedEdgeMesh::add(), extendedEdgeMesh::allNearestFeatureEdges(), extendedEdgeMesh::clear(), extendedEdgeMesh::edgeTreesByType(), extendedEdgeMesh::flipNormals(), extendedEdgeMesh::getEdgeStatus(), extendedEdgeMesh::internalStart(), extendedEdgeMesh::nearestFeatureEdgeByType(), Foam::operator<<(), Foam::operator>>(), extendedEdgeMesh::transfer(), extendedEdgeMesh::writeObj(), and extendedEdgeMesh::writeStats().
|
protected |
Index of the start of the flat feature edges.
Definition at line 159 of file extendedEdgeMesh.H.
Referenced by extendedEdgeMesh::add(), extendedEdgeMesh::allNearestFeatureEdges(), extendedEdgeMesh::clear(), extendedEdgeMesh::edgeTreesByType(), extendedEdgeMesh::flatStart(), extendedEdgeMesh::getEdgeStatus(), extendedEdgeMesh::nearestFeatureEdgeByType(), Foam::operator<<(), Foam::operator>>(), extendedEdgeMesh::transfer(), extendedEdgeMesh::writeObj(), and extendedEdgeMesh::writeStats().
|
protected |
Index of the start of the open feature edges.
Definition at line 162 of file extendedEdgeMesh.H.
Referenced by extendedEdgeMesh::add(), extendedEdgeMesh::allNearestFeatureEdges(), extendedEdgeMesh::clear(), extendedEdgeMesh::edgeTreesByType(), extendedEdgeMesh::getEdgeStatus(), extendedEdgeMesh::nearestFeatureEdgeByType(), extendedEdgeMesh::openStart(), Foam::operator<<(), Foam::operator>>(), extendedEdgeMesh::transfer(), extendedEdgeMesh::writeObj(), and extendedEdgeMesh::writeStats().
|
protected |
Index of the start of the multiply-connected feature edges.
Definition at line 165 of file extendedEdgeMesh.H.
Referenced by extendedEdgeMesh::add(), extendedEdgeMesh::allNearestFeatureEdges(), extendedEdgeMesh::clear(), extendedEdgeMesh::edgeTreesByType(), extendedEdgeMesh::getEdgeStatus(), extendedEdgeMesh::multipleStart(), extendedEdgeMesh::nearestFeatureEdgeByType(), Foam::operator<<(), Foam::operator>>(), extendedEdgeMesh::transfer(), extendedEdgeMesh::writeObj(), and extendedEdgeMesh::writeStats().
|
protected |
Normals of the features, to be referred to by index by both feature.
points and edges, unsorted
Definition at line 169 of file extendedEdgeMesh.H.
Referenced by extendedEdgeMesh::add(), extendedEdgeMesh::clear(), extendedEdgeMesh::edgeNormals(), extendedEdgeMesh::extendedEdgeMesh(), extendedEdgeMesh::featurePointNormals(), extendedEdgeMesh::flipNormals(), extendedEdgeMesh::normals(), Foam::operator<<(), Foam::operator>>(), and extendedEdgeMesh::transfer().
|
protected |
Type per normal: which side of normal to mesh.
Definition at line 172 of file extendedEdgeMesh.H.
Referenced by extendedEdgeMesh::clear(), extendedEdgeMesh::edgeBaffles(), extendedEdgeMesh::extendedEdgeMesh(), extendedEdgeMesh::normalVolumeTypes(), Foam::operator<<(), Foam::operator>>(), and extendedEdgeMesh::transfer().
|
protected |
Flat and open edges require the direction of the edge.
Definition at line 175 of file extendedEdgeMesh.H.
Referenced by extendedEdgeMesh::add(), extendedEdgeMesh::clear(), extendedEdgeMesh::edgeDirections(), extendedFeatureEdgeMesh::extendedFeatureEdgeMesh(), extendedEdgeMesh::flipNormals(), extendedEdgeMesh::transfer(), and extendedEdgeMesh::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 180 of file extendedEdgeMesh.H.
Referenced by extendedEdgeMesh::clear(), extendedEdgeMesh::normalDirections(), Foam::operator<<(), Foam::operator>>(), and extendedEdgeMesh::transfer().
|
protected |
Indices of the normals that are adjacent to the feature edges.
Definition at line 183 of file extendedEdgeMesh.H.
Referenced by extendedEdgeMesh::add(), extendedEdgeMesh::clear(), extendedEdgeMesh::edgeBaffles(), extendedEdgeMesh::edgeNormals(), extendedEdgeMesh::flipNormals(), Foam::operator<<(), Foam::operator>>(), and extendedEdgeMesh::transfer().
|
protected |
Indices of the normals that are adjacent to the feature points.
(only valid for 0..nonFeatureStart_-1)
Definition at line 187 of file extendedEdgeMesh.H.
Referenced by extendedEdgeMesh::add(), extendedEdgeMesh::clear(), extendedEdgeMesh::featurePointNormals(), extendedEdgeMesh::flipNormals(), Foam::operator<<(), Foam::operator>>(), and extendedEdgeMesh::transfer().
|
protected |
Indices of feature edges attached to feature points. The edges are.
ordered so that they can be circulated.
Definition at line 191 of file extendedEdgeMesh.H.
Referenced by extendedEdgeMesh::clear(), extendedEdgeMesh::featurePointEdges(), Foam::operator<<(), Foam::operator>>(), and extendedEdgeMesh::transfer().
|
protected |
Feature edges which are on the boundary between regions.
Definition at line 194 of file extendedEdgeMesh.H.
Referenced by extendedEdgeMesh::add(), extendedEdgeMesh::clear(), extendedEdgeMesh::flipNormals(), Foam::operator<<(), Foam::operator>>(), extendedEdgeMesh::regionEdges(), extendedEdgeMesh::transfer(), and extendedEdgeMesh::writeObj().
|
mutableprotected |
Search tree for all feature points.
Definition at line 197 of file extendedEdgeMesh.H.
Referenced by extendedEdgeMesh::add(), extendedEdgeMesh::clear(), extendedEdgeMesh::flipNormals(), extendedEdgeMesh::pointTree(), and extendedEdgeMesh::transfer().
|
mutableprotected |
Search tree for all edges.
Definition at line 200 of file extendedEdgeMesh.H.
Referenced by extendedEdgeMesh::add(), extendedEdgeMesh::clear(), extendedEdgeMesh::edgeTree(), extendedEdgeMesh::flipNormals(), and extendedEdgeMesh::transfer().
|
mutableprotected |
Individual search trees for each type of edge.
Definition at line 203 of file extendedEdgeMesh.H.
Referenced by extendedEdgeMesh::add(), extendedEdgeMesh::clear(), extendedEdgeMesh::edgeTreesByType(), extendedEdgeMesh::flipNormals(), and extendedEdgeMesh::transfer().
|
static |
Number of possible point types (i.e. number of slices)
Definition at line 226 of file extendedEdgeMesh.H.
Referenced by NamedEnum< directionType, 3 >::names().
|
static |
Number of possible feature edge types (i.e. number of slices)
Definition at line 229 of file extendedEdgeMesh.H.
Referenced by extendedEdgeMesh::edgeTreesByType(), and NamedEnum< directionType, 3 >::names().