5 #ifndef GEOMODELKERNEL_GEOFACET_H 6 #define GEOMODELKERNEL_GEOFACET_H 17 #include "GeoModelKernel/RCBase.h" 18 #include "GeoModelKernel/GeoDefinitions.h" 21 typedef GeoTrf::Vector3D GeoFacetVertex;
27 enum GeoFacetVertexType
33 inline size_t getNumberOfVertices()
const;
34 inline GeoFacetVertex getVertex(
size_t)
const;
35 inline GeoFacetVertexType getVertexType()
const;
40 m_vertexType(ABSOLUTE) {};
44 std::vector<GeoFacetVertex> m_vertices;
45 GeoFacetVertexType m_vertexType;
74 inline size_t GeoFacet::getNumberOfVertices()
const 79 inline GeoFacetVertex GeoFacet::getVertex(
size_t index)
const 81 return (index<m_nVertices ? m_vertices[index] : GeoFacetVertex(999999.,999999.,999999.));
84 inline GeoFacet::GeoFacetVertexType GeoFacet::getVertexType()
const Base class for GeoModel Facets Two implementations exist:
This is a base class for objects whose memory is managed through reference counting. Reference-counted objects can only be created using operator new, the cannot be created on the stack.