Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
edgeIntersections Class Reference

Holder of intersections of edges of a surface with another surface. Optionally shuffles around points on surface to resolve any 'conflicts' (edge hitting triangle edge, edge hitting point etc.). More...

Inheritance diagram for edgeIntersections:
Inheritance graph
[legend]
Collaboration diagram for edgeIntersections:
Collaboration graph
[legend]

Public Member Functions

 ClassName ("edgeIntersections")
 
 edgeIntersections ()
 
 edgeIntersections (const triSurface &surf1, const triSurfaceSearch &query2, const scalarField &surf1PointTol)
 
 edgeIntersections (const List< List< pointIndexHit >> &, const labelListList &)
 
const labelListListclassification () const
 
label removeDegenerates (const label nIters, const triSurface &surf1, const triSurfaceSearch &query2, const scalarField &surf1PointTol, pointField &points1)
 
void merge (const edgeIntersections &, const labelList &edgeMap, const labelList &faceMap, const bool merge=true)
 
- Public Member Functions inherited from List< List< pointIndexHit > >
constexpr List () noexcept
 
 List (const label len)
 
 List (const label len, const T &val)
 
 List (const label len, const Foam::zero)
 
 List (const Foam::one, const T &val)
 
 List (const Foam::one, T &&val)
 
 List (const Foam::one, const Foam::zero)
 
 List (const List< T > &a)
 
 List (const UList< T > &a)
 
 List (List< T > &a, bool reuse)
 
 List (const UList< T > &list, const labelUList &indices)
 
 List (const UList< T > &list, const FixedList< label, N > &indices)
 
 List (const FixedList< T, N > &list)
 
 List (const PtrList< T > &list)
 
 List (const SLList< T > &list)
 
 List (const IndirectListBase< T, Addr > &list)
 
 List (std::initializer_list< T > list)
 
 List (List< T > &&list)
 
 List (DynamicList< T, SizeMin > &&list)
 
 List (SortableList< T > &&list)
 
 List (SLList< T > &&list)
 
 List (Istream &is)
 
 List (const label len)
 
 List (const label len, const T &val)
 
 List (const label len, const Foam::zero)
 
 List (const Foam::one, const T &val)
 
 List (const Foam::one, T &&val)
 
 List (const Foam::one, const Foam::zero)
 
 List (const UList< T > &a)
 
 List (const List< T > &a)
 
 List (List< T > &a, bool reuse)
 
 List (const UList< T > &list, const labelUList &indices)
 
 List (const PtrList< T > &list)
 
 List (const SLList< T > &list)
 
 List (std::initializer_list< T > list)
 
 List (List< T > &&list)
 
 List (SortableList< T > &&list)
 
 List (SLList< T > &&list)
 
constexpr List () noexcept
 
 List (Istream &is)
 
autoPtr< List< T > > clone () const
 
 ~List ()
 
void clear ()
 
void resize (const label len)
 
void resize (const label len, const T &val)
 
void resize (const label newLen)
 
void resize_nocopy (const label len)
 
void setSize (const label n)
 
void setSize (const label n, const T &val)
 
void append (const T &val)
 
void append (T &&val)
 
void append (const UList< T > &list)
 
void append (const IndirectListBase< T, Addr > &list)
 
void append (const T &val)
 
void append (T &&val)
 
void append (const UList< T > &list)
 
label appendUniq (const T &val)
 
void transfer (List< T > &list)
 
void transfer (DynamicList< T, SizeMin > &list)
 
void transfer (SortableList< T > &list)
 
void transfer (List< T > &list)
 
void transfer (SortableList< T > &list)
 
TnewElmt (const label i)
 
void operator= (const UList< T > &a)
 
void operator= (const List< T > &list)
 
void operator= (const SLList< T > &list)
 
void operator= (const IndirectListBase< T, Addr > &list)
 
void operator= (const FixedList< T, N > &list)
 
void operator= (std::initializer_list< T > list)
 
void operator= (const T &val)
 
void operator= (const Foam::zero)
 
void operator= (List< T > &&list)
 
void operator= (DynamicList< T, SizeMin > &&list)
 
void operator= (SortableList< T > &&list)
 
void operator= (SLList< T > &&list)
 
void operator= (const UList< T > &a)
 
void operator= (const List< T > &list)
 
void operator= (const SLList< T > &list)
 
void operator= (std::initializer_list< T > list)
 
void operator= (List< T > &&list)
 
void operator= (SortableList< T > &&list)
 
void operator= (SLList< T > &&list)
 
void operator= (const T &val)
 
void operator= (const Foam::zero)
 
IstreamreadList (Istream &is)
 
IstreamreadList (Istream &is)
 
IstreamreadList (Istream &is)
 
void shallowCopy (const UList< T > &)=delete
 
std::enable_if< std::is_same< bool, TypeT >::value, bool >::type set (const label i, bool val=true)
 

Static Public Member Functions

static scalarField minEdgeLength (const triSurface &surf)
 
- Static Public Member Functions inherited from List< List< pointIndexHit > >
static const List< T > & null ()
 

Static Public Attributes

static scalar alignedCos_ = Foam::cos(degToRad(89.0))
 

Additional Inherited Members

- Public Types inherited from List< List< pointIndexHit > >
typedef SubList< TsubList
 

Detailed Description

Holder of intersections of edges of a surface with another surface. Optionally shuffles around points on surface to resolve any 'conflicts' (edge hitting triangle edge, edge hitting point etc.).

Source files

Definition at line 58 of file edgeIntersections.H.

Constructor & Destructor Documentation

◆ edgeIntersections() [1/3]

Definition at line 434 of file edgeIntersections.C.

◆ edgeIntersections() [2/3]

edgeIntersections ( const triSurface surf1,
const triSurfaceSearch query2,
const scalarField surf1PointTol 
)

Definition at line 442 of file edgeIntersections.C.

References Foam::identity(), PrimitivePatch< FaceList, PointField >::nEdges(), and PrimitivePatch< FaceList, PointField >::points().

Here is the call graph for this function:

◆ edgeIntersections() [3/3]

edgeIntersections ( const List< List< pointIndexHit >> &  intersections,
const labelListList classification 
)

Definition at line 469 of file edgeIntersections.C.

Member Function Documentation

◆ ClassName()

ClassName ( "edgeIntersections"  )

◆ minEdgeLength()

Foam::scalarField minEdgeLength ( const triSurface surf)
static

◆ classification()

const labelListList& classification ( ) const
inline

Definition at line 176 of file edgeIntersections.H.

Referenced by edgeIntersections::merge().

Here is the caller graph for this function:

◆ removeDegenerates()

Foam::label removeDegenerates ( const label  nIters,
const triSurface surf1,
const triSurfaceSearch query2,
const scalarField surf1PointTol,
pointField points1 
)

◆ merge()

void merge ( const edgeIntersections subInfo,
const labelList edgeMap,
const labelList faceMap,
const bool  merge = true 
)

Member Data Documentation

◆ alignedCos_

Foam::scalar alignedCos_ = Foam::cos(degToRad(89.0))
static

Definition at line 140 of file edgeIntersections.H.


The documentation for this class was generated from the following files: