|
|
|
triSurfaceTools Class ReferenceA collection of tools for triSurfaceMesh. More...
Collaboration diagram for triSurfaceTools:
![]()
Detailed DescriptionA collection of tools for triSurfaceMesh.
Definition at line 58 of file triSurfaceTools.H. Member Enumeration Documentation
Member Function Documentation
Write pointField to OBJ format file.
Definition at line 1250 of file triSurfaceTools.C. References Foam::endl(), and forAll.
Here is the call graph for this function:
![]()
Get all triangles using edge endpoint.
Definition at line 1299 of file triSurfaceTools.C. References PrimitivePatch< Face, FaceList, PointField, PointType >::edgeFaces(), PrimitivePatch< Face, FaceList, PointField, PointType >::edges(), edge::end(), forAll, PrimitivePatch< Face, FaceList, PointField, PointType >::pointFaces(), and edge::start().
Here is the call graph for this function:
![]()
Get all vertices (local numbering) connected to vertices of edge.
Definition at line 1342 of file triSurfaceTools.C.
Get face connected to edge not faceI.
Definition at line 1427 of file triSurfaceTools.C. References PrimitivePatch< Face, FaceList, PointField, PointType >::edgeFaces().
Here is the call graph for this function:
![]()
Get the two edges on faceI counterclockwise after edgeI.
Definition at line 1455 of file triSurfaceTools.C.
Get the two vertices (local numbering) on faceI counterclockwise. vertI Definition at line 1488 of file triSurfaceTools.C.
Returns edge label connecting v1, v2 (local numbering).
Definition at line 1590 of file triSurfaceTools.C.
Return index of triangle (or -1) using all three edges.
Definition at line 1615 of file triSurfaceTools.C.
Create new triSurface by collapsing edges to edge mids.
Definition at line 1666 of file triSurfaceTools.C.
Create new triSurface by collapsing edges to specified. positions. faceStatus allows explicit control over which faces need to be protected (see above). faceStatus gets updated to protect collapsing already collapsed faces. Definition at line 1719 of file triSurfaceTools.C.
Refine face by splitting all edges. Neighbouring face is. greenRefine'd. Definition at line 1881 of file triSurfaceTools.C.
Returns element in edgeIndices with minimum length.
Definition at line 1992 of file triSurfaceTools.C. References PrimitivePatch< Face, FaceList, PointField, PointType >::edges(), edge::end(), forAll, PrimitivePatch< Face, FaceList, PointField, PointType >::localPoints(), Foam::mag(), and edge::start().
Here is the call graph for this function:
![]()
Returns element in edgeIndices with minimum length.
Definition at line 2022 of file triSurfaceTools.C.
if nearest point is on edgeI, determine on which side of surface sample is. Definition at line 2159 of file triSurfaceTools.C.
Given nearest point (to sample) on surface determines which side. sample is. Uses either face normal, edge normal or point normal (non-trivial). Uses triangle::classify. Definition at line 2196 of file triSurfaceTools.C.
Simple triangulation of (selected patches of) boundaryMesh. Needs. polyMesh (or polyBoundaryMesh) since only at this level are the triangles on neighbouring patches connected. Definition at line 2325 of file triSurfaceTools.C.
Face-centre triangulation of (selected patches of) boundaryMesh. Needs polyMesh (or polyBoundaryMesh) since only at this level are the triangles on neighbouring patches connected. Definition at line 2426 of file triSurfaceTools.C.
Calculate linear interpolation weights for point (guaranteed to be. inside triangle) Definition at line 2677 of file triSurfaceTools.C. References Foam::mag(), and Foam::max().
Here is the call graph for this function:
![]()
Definition at line 2709 of file triSurfaceTools.C.
Do unconstrained Delaunay of points. Returns triSurface with 3D. points with z=0. All triangles in region 0. Definition at line 2540 of file triSurfaceTools.C.
Test point on plane of triangle to see if on edge or point. or inside. Definition at line 2836 of file triSurfaceTools.C. References E(), surfaceLocation::elementType(), PrimitivePatch< Face, FaceList, PointField, PointType >::faceEdges(), PrimitivePatch< Face, FaceList, PointField, PointType >::localFaces(), and PrimitivePatch< Face, FaceList, PointField, PointType >::points().
Here is the call graph for this function:
![]()
Track on surface to get closer to point. Possible situations:.
Definition at line 2881 of file triSurfaceTools.C.
Track from edge to edge across surface. Uses trackToEdge. Not really useful by itself, more example of how to use trackToEdge. endInfo should be location on surface. hitInfo should be initialised to starting location (on surface as well). Upon return is set to end location. Definition at line 2959 of file triSurfaceTools.C.
Member Data Documentation
Definition at line 377 of file triSurfaceTools.H.
Definition at line 378 of file triSurfaceTools.H.
The documentation for this class was generated from the following files:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||