39#ifndef edgeIntersections_H
40#define edgeIntersections_H
65 public List<List<pointIndexHit>>
80 static void checkEdges(
const triSurface& surf);
170 const List<List<pointIndexHit>>&,
183 return classification_;
211 const bool merge =
true
Holder of intersections of edges of a surface with another surface. Optionally shuffles around points...
const labelListList & classification() const
For every intersection the classification status.
edgeIntersections()
Construct null.
ClassName("edgeIntersections")
void merge(const edgeIntersections &, const labelList &edgeMap, const labelList &faceMap, const bool merge=true)
Merge (or override) edge intersection for a subset.
static scalarField minEdgeLength(const triSurface &surf)
Calculate min edge length for every surface point.
label removeDegenerates(const label nIters, const triSurface &surf1, const triSurfaceSearch &query2, const scalarField &surf1PointTol, pointField &points1)
Resolve ties. Shuffles points so all edge - face intersections.
static scalar alignedCos_
Cosine between edge and face normal when considered parallel.
An edge is a list of two vertex labels. This can correspond to a directed graph edge or an edge on a ...
Helper class to search on triSurface.
Triangulated surface description with patch information.
#define ClassName(TypeNameString)
Add typeName information from argument TypeNameString to a class.
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)
List< labelList > labelListList
List of labelList.
List< label > labelList
A List of labels.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
List< bool > boolList
A List of bools.
vectorField pointField
pointField is a vectorField.
Basic run-time type information using word as the type's name. Used to enhance the standard RTTI to c...