118 const edge& e =
edges()[edgeI];
120 if (ptI == e.start())
124 else if (ptI == e.end())
130 FatalErrorIn(
"Foam::extendedFeatureEdgeMesh::edgeDirection")
131 <<
"Requested ptI " << ptI <<
" is not a point on the requested " 132 <<
"edgeI " << edgeI <<
". edgeI start and end: " 133 << e.start() <<
" " << e.end()
185 WarningIn(
"vectorField extendedFeatureEdgeMesh::featurePointNormals")
186 <<
"Requesting the normals of a non-feature point. " 187 <<
"Returned zero length vectorField." 199 norms[i] =
normals_[featPtNormIs[i]];
278 const label normI = eNormals[enI];
label flatStart_
Index of the start of the flat feature edges.
label externalStart() const
Return the index of the start of the external feature edges.
vectorField edgeDirections_
Flat and open edges require the direction of the edge.
const List< sideVolumeType > & normalVolumeTypes() const
Return.
label nonFeatureStart() const
Return the index of the start of the non-feature points.
PackedList< 2 > edgeBaffles(label edgeI) const
Return the baffle faces of a specified edge.
const labelListList & featurePointEdges() const
Return the edge labels for a given feature point. Edges are.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
pointStatus getPointStatus(label ptI) const
Return the pointStatus of a specified point.
errorManipArg< error, int > exit(error &err, const int errNo=1)
const vectorField & edgeDirections() const
Return the edgeDirection vectors.
const labelList & regionEdges() const
Return the feature edges which are on the boundary between.
Templated 3D Vector derived from VectorSpace adding construction from 3 components, element access using x(), y() and z() member functions and the inner-product (dot-product) and cross product operators.
PackedList< nBits > & append(const unsigned int val)
Append a value at the end of the list.
const labelListList & edgeNormals() const
Return the indices of the normals that are adjacent to the.
labelListList featurePointNormals_
Indices of the normals that are adjacent to the feature points.
label multipleStart() const
Return the index of the start of the multiply-connected feature.
label internalStart_
Index of the start of the internal feature edges.
List< sideVolumeType > normalVolumeTypes_
Type per normal: which side of normal to mesh.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Ostream & endl(Ostream &os)
Add newline and flush stream.
label nonFeatureStart_
Index of the start of the non-feature points.
#define WarningIn(functionName)
Report a warning using Foam::Warning.
const vectorField & normals() const
Return the normals of the surfaces adjacent to the feature edges.
label mixedStart_
Index of the start of the mixed type feature points.
vector edgeDirection(label edgeI, label ptI) const
Return the direction of edgeI, pointing away from ptI.
Field< vector > vectorField
Specialisation of Field<T> for vector.
label concaveStart_
Index of the start of the concave feature points.
labelListList featurePointEdges_
Indices of feature edges attached to feature points. The edges are.
label openStart() const
Return the index of the start of the open feature edges.
labelListList normalDirections_
Starting directions for the edges.
static label convexStart_
Index of the start of the convex feature points - static as 0.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
edgeStatus getEdgeStatus(label edgeI) const
Return the edgeStatus of a specified edge.
label convexStart() const
Return the index of the start of the convex feature points.
label openStart_
Index of the start of the open feature edges.
vectorField normals_
Normals of the features, to be referred to by index by both feature.
List< label > labelList
A List of labels.
label internalStart() const
Return the index of the start of the internal feature edges.
label mixedStart() const
Return the index of the start of the mixed type feature points.
static label externalStart_
Index of the start of the external feature edges - static as 0.
labelList regionEdges_
Feature edges which are on the boundary between regions.
labelListList edgeNormals_
Indices of the normals that are adjacent to the feature edges.
label multipleStart_
Index of the start of the multiply-connected feature edges.
const labelListList & normalDirections() const
label concaveStart() const
Return the index of the start of the concave feature points.
bool featurePoint(label ptI) const
Return whether or not the point index is a feature point.
label flatStart() const
Return the index of the start of the flat feature edges.
const labelListList & featurePointNormals() const
Return the indices of the normals that are adjacent to the.
const edgeList & edges() const
Return edges.