Patch intersection based on polygonal faces. This triangulates the supplied patches and passes them to TriPatchIntersection. It then re-combines the triangles that TriPatchIntersection generates. More...
Public Member Functions | |
virtual word | type () const |
FacePatchIntersection (const SrcPatchType &srcPatch, const TgtPatchType &tgtPatch, const scalar snapTol) | |
Construct from a source and a target patch. More... | |
FacePatchIntersection (const SrcPatchType &srcPatch, const vectorField &srcPointNormals, const TgtPatchType &tgtPatch, const scalar snapTol) | |
Construct from a source and a target patch, and specified source. More... | |
virtual | ~FacePatchIntersection () |
Destructor. More... | |
Public Member Functions inherited from PatchIntersection< SrcPatchType, TgtPatchType > | |
PatchIntersection (const SrcPatchType &srcPatch, const TgtPatchType &tgtPatch) | |
Construct from a source and a target patch. More... | |
virtual | ~PatchIntersection () |
Destructor. More... | |
const SrcPatchType & | srcPatch () const |
The source patch. More... | |
const TgtPatchType & | tgtPatch () const |
The target patch. More... | |
Public Member Functions inherited from patchIntersection | |
ClassName ("patchIntersection") | |
patchIntersection (const label srcNPoints, const label tgtNPoints, const label srcNEdges, const label tgtNEdges, const label srcNFaces, const label tgtNFaces) | |
Construct given sizes. More... | |
virtual | ~patchIntersection () |
Destructor. More... | |
const pointField & | points () const |
The intersection points. More... | |
const labelList & | srcPointPoints () const |
The source points' corresponding intersection points. More... | |
const labelList & | tgtPointPoints () const |
The target points' corresponding intersection points. More... | |
const DynamicList< label > & | pointSrcPoints () const |
The intersection points' corresponding source points, or -1. More... | |
const DynamicList< label > & | pointTgtPoints () const |
The intersection points' corresponding target points, or -1. More... | |
const List< DynamicList< label > > & | srcEdgePoints () const |
The source edges' intersection points. Ordered along the edge. More... | |
const List< DynamicList< label > > & | tgtEdgePoints () const |
The target edges' intersection points. Ordered along the edge. More... | |
const DynamicList< label > & | pointSrcEdges () const |
The intersection points' source edges, or -1 if the point. More... | |
const DynamicList< label > & | pointTgtEdges () const |
The intersection points' target edges, or -1 if the point. More... | |
const DynamicList< label > & | pointSrcFaces () const |
The intersection points' source faces, or -1 if the point. More... | |
const DynamicList< label > & | pointTgtFaces () const |
The intersection points' target faces, or -1 if the point. More... | |
const faceList & | faces () const |
The intersection faces. More... | |
const List< DynamicList< label > > & | srcFaceFaces () const |
The source faces' intersection faces. More... | |
const List< DynamicList< label > > & | tgtFaceFaces () const |
The target faces' intersection faces. More... | |
const DynamicList< label > & | faceSrcFaces () const |
The intersection faces' corresponding source faces, or -1. More... | |
const DynamicList< label > & | faceTgtFaces () const |
The intersection faces' corresponding target faces, or -1. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from patchIntersection | |
void | report (const word &writeSuffix=word::null) |
Report properties of the intersection process. More... | |
Protected Attributes inherited from PatchIntersection< SrcPatchType, TgtPatchType > | |
const SrcPatchType & | srcPatch_ |
Reference to the source patch. More... | |
const TgtPatchType & | tgtPatch_ |
Reference to the target patch. More... | |
Protected Attributes inherited from patchIntersection | |
DynamicField< point > | points_ |
The intersection points. More... | |
labelList | srcPointPoints_ |
The source points' corresponding intersection points. More... | |
labelList | tgtPointPoints_ |
The target points' corresponding intersection points. More... | |
DynamicList< label > | pointSrcPoints_ |
The intersection points' corresponding source points, or -1. More... | |
DynamicList< label > | pointTgtPoints_ |
The intersection points' corresponding target points, or -1. More... | |
List< DynamicList< label > > | srcEdgePoints_ |
The source edges' intersection points. Ordered along the edge. More... | |
List< DynamicList< label > > | tgtEdgePoints_ |
The target edges' intersection points. Ordered along the edge. More... | |
DynamicList< label > | pointSrcEdges_ |
The intersection points' source edges, or -1 if the point. More... | |
DynamicList< label > | pointTgtEdges_ |
The intersection points' target edges, or -1 if the point. More... | |
DynamicList< label > | pointSrcFaces_ |
The intersection points' source faces, or -1 if the point. More... | |
DynamicList< label > | pointTgtFaces_ |
The intersection points' target faces, or -1 if the point. More... | |
DynamicList< face > | faces_ |
The intersection faces. More... | |
List< DynamicList< label > > | srcFaceFaces_ |
The source faces' intersection faces. More... | |
List< DynamicList< label > > | tgtFaceFaces_ |
The target faces' intersection faces. More... | |
DynamicList< label > | faceSrcFaces_ |
The intersection faces' corresponding source faces, or -1. More... | |
DynamicList< label > | faceTgtFaces_ |
The intersection faces' corresponding target faces, or -1. More... | |
Static Protected Attributes inherited from patchIntersection | |
static const bool | orientToSource_ = true |
Flag to set whether the faces of the intersection are oriented the. More... | |
Patch intersection based on polygonal faces. This triangulates the supplied patches and passes them to TriPatchIntersection. It then re-combines the triangles that TriPatchIntersection generates.
Definition at line 52 of file FacePatchIntersection.H.
FacePatchIntersection | ( | const SrcPatchType & | srcPatch, |
const TgtPatchType & | tgtPatch, | ||
const scalar | snapTol | ||
) |
Construct from a source and a target patch.
Definition at line 102 of file FacePatchIntersection.C.
FacePatchIntersection | ( | const SrcPatchType & | srcPatch, |
const vectorField & | srcPointNormals, | ||
const TgtPatchType & | tgtPatch, | ||
const scalar | snapTol | ||
) |
Construct from a source and a target patch, and specified source.
point normals
Definition at line 114 of file FacePatchIntersection.C.
References DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), cpuTime::cpuTimeIncrement(), Foam::decrIndent(), PrimitivePatch< FaceList, PointField >::edgeFaces(), Foam::endl(), f(), TriPatchIntersection< SrcPatchType, TgtPatchType >::faceEdges(), PrimitivePatch< FaceList, PointField >::faceEdges(), patchIntersection::faces(), patchIntersection::faces_, patchIntersection::faceSrcFaces(), patchIntersection::faceSrcFaces_, star::faceStarFaces(), patchIntersection::faceTgtFaces(), patchIntersection::faceTgtFaces_, Foam::findIndex(), forAll, forAllStarEdges, forAllStarFaces, Foam::identityMap(), Foam::incrIndent(), Foam::indent(), Foam::Info, Foam::inplaceRemove(), Foam::inplaceRenumber(), TriPatchIntersection< SrcPatchType, TgtPatchType >::intersectEdgeFaces(), Foam::max(), PrimitivePatch< FaceList, PointField >::meshPoints(), n, PrimitivePatch< FaceList, PointField >::nEdges(), TriPatchIntersection< SrcPatchType, TgtPatchType >::nonIntersectEdgeFaces(), nPoints, PrimitivePatch< FaceList, PointField >::nPoints(), patchIntersection::points(), patchIntersection::points_, patchIntersection::pointSrcEdges(), patchIntersection::pointSrcEdges_, patchIntersection::pointSrcFaces(), patchIntersection::pointSrcFaces_, patchIntersection::pointSrcPoints(), patchIntersection::pointSrcPoints_, patchIntersection::pointTgtEdges(), patchIntersection::pointTgtEdges_, patchIntersection::pointTgtFaces(), patchIntersection::pointTgtFaces_, patchIntersection::pointTgtPoints(), patchIntersection::pointTgtPoints_, star::populate(), Foam::renumber(), Foam::reorder(), patchIntersection::report(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::resize(), Foam::reverseList(), List< T >::size(), patchIntersection::srcEdgePoints(), patchIntersection::srcEdgePoints_, patchIntersection::srcFaceFaces_, PatchIntersection< SrcPatchType, TgtPatchType >::srcPatch(), PatchIntersection< SrcPatchType, TgtPatchType >::srcPatch_, patchIntersection::srcPointPoints(), patchIntersection::srcPointPoints_, star::starEdgeEdges(), patchIntersection::tgtEdgePoints(), patchIntersection::tgtEdgePoints_, patchIntersection::tgtFaceFaces_, PatchIntersection< SrcPatchType, TgtPatchType >::tgtPatch(), PatchIntersection< SrcPatchType, TgtPatchType >::tgtPatch_, patchIntersection::tgtPointPoints(), patchIntersection::tgtPointPoints_, polygonTriangulate::triEdges(), polygonTriangulate::triPoints(), FacePatchIntersection< SrcPatchType, TgtPatchType >::type(), and Foam::vtkWritePolyData::write().
|
virtual |
Destructor.
Definition at line 554 of file FacePatchIntersection.C.
|
inlinevirtual |
Implements patchIntersection.
Definition at line 60 of file FacePatchIntersection.H.
References word::capitalise().
Referenced by FacePatchIntersection< SrcPatchType, TgtPatchType >::FacePatchIntersection().