EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
A pair of 3D vertices defining one of the three facet edges in STL input file. More...
#include <EicRoot/blob/master/eic/cad/EicStlFacetEdge.h>
Public Member Functions | |
EicStlFacetEdge (EicStlVertex *const v1, EicStlVertex *const v2) | |
~EicStlFacetEdge () | |
const EicStlKey * | key () const |
void | AddFacet (EicStlFacet *facet) |
const std::vector< EicStlFacet * > & | facets (void) const |
const vEntry * | vertices (void) const |
Private Attributes | |
EicStlKey * | mKey |
vEntry * | mVertices |
std::vector< EicStlFacet * > | mFacets |
A pair of 3D vertices defining one of the three facet edges in STL input file.
Definition at line 18 of file EicStlFacetEdge.h.
View newest version in sPHENIX GitHub at line 18 of file EicStlFacetEdge.h
EicStlFacetEdge::EicStlFacetEdge | ( | EicStlVertex *const | v1, |
EicStlVertex *const | v2 | ||
) |
Main constructor
v1 | "from" vertex |
v2 | "to" vertex (but order is irrelevant) |
Definition at line 11 of file EicStlFacetEdge.cxx.
View newest version in sPHENIX GitHub at line 11 of file EicStlFacetEdge.cxx
References EicStlKeyCompare(), GetVertexArrayKey(), EicStlVertex::key(), mKey, mVertices, v1, and v2.
|
inline |
Destructor; just need to clean up the keys;
Definition at line 27 of file EicStlFacetEdge.h.
View newest version in sPHENIX GitHub at line 27 of file EicStlFacetEdge.h
|
inline |
Definition at line 40 of file EicStlFacetEdge.h.
View newest version in sPHENIX GitHub at line 40 of file EicStlFacetEdge.h
References mFacets.
Referenced by EicStlMediaGroup::AllocateEdges().
|
inline |
Definition at line 41 of file EicStlFacetEdge.h.
View newest version in sPHENIX GitHub at line 41 of file EicStlFacetEdge.h
References mFacets.
Referenced by EicStlMediaGroup::AllocateEdges(), and EicStlMediaGroup::CoupleFacetToAssembly().
|
inline |
Access method; returns unique read-only STL key for this edge
Definition at line 39 of file EicStlFacetEdge.h.
View newest version in sPHENIX GitHub at line 39 of file EicStlFacetEdge.h
References mKey.
Referenced by EicStlMediaGroup::AllocateEdges(), and EicCompositeShape::LocalFillBuffer3D().
|
inline |
Definition at line 42 of file EicStlFacetEdge.h.
View newest version in sPHENIX GitHub at line 42 of file EicStlFacetEdge.h
References mVertices.
Referenced by EicStlMediaGroup::AllocateEdges(), EicStlMediaGroup::CoupleFacetToAssembly(), and EicCompositeShape::LocalFillBuffer3D().
|
private |
Array of facets to which this edge belongs
Definition at line 52 of file EicStlFacetEdge.h.
View newest version in sPHENIX GitHub at line 52 of file EicStlFacetEdge.h
Referenced by AddFacet(), and facets().
|
private |
Edge unique 2*3*4-byte STL key
Definition at line 42 of file EicStlFacetEdge.h.
View newest version in sPHENIX GitHub at line 42 of file EicStlFacetEdge.h
Referenced by EicStlFacetEdge(), key(), and ~EicStlFacetEdge().
|
private |
Definition at line 49 of file EicStlFacetEdge.h.
View newest version in sPHENIX GitHub at line 49 of file EicStlFacetEdge.h
Referenced by EicStlFacetEdge(), vertices(), and ~EicStlFacetEdge().