Go to the documentation of this file.
36 #ifndef removePoints_H
37 #define removePoints_H
removePoints(const removePoints &)
Disallow default bitwise copy construct.
Removes selected points from mesh and updates faces using these points.
faceList savedFaces_
If undoable: per stored face the vertices. Negative indices.
const polyMesh & mesh_
Reference to mesh.
Direct mesh changes based on v1.3 polyTopoChange syntax.
void getUnrefimentSet(const labelList &undoFaces, labelList &localFaces, labelList &localPoints) const
Given set of faces to restore calculates a consistent set of.
ClassName("removePoints")
Runtime type information.
Mesh consisting of general polyhedral cells.
labelList savedFaceLabels_
If undoable: per stored face the original mesh face label.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
void modifyFace(const label faceI, const face &, polyTopoChange &) const
Change the vertices of the face whilst keeping everything else.
const labelList & savedFaceLabels() const
If undoable: affected face labels. Already restored faces.
void operator=(const removePoints &)
Disallow default bitwise assignment.
void setUnrefinement(const labelList &localFaces, const labelList &localPoints, polyTopoChange &)
Restore selected faces and vertices.
const bool undoable_
Whether undoable.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
A face is a list of labels corresponding to mesh vertices.
pointField savedPoints_
If undoable: deleted points.
void updateMesh(const mapPolyMesh &)
Force recalculation of locally stored data on topological change.
void setRefinement(const boolList &, polyTopoChange &)
Play commands into polyTopoChange to remove points. Gets.
label countPointUsage(const scalar minCos, boolList &pointCanBeDeleted) const
Mark in pointCanBeDeleted the points that can be deleted.