2#pragma warning(disable : 4251)
11class __declspec(dllexport) EntityFacetData :
public EntityBase
14 EntityFacetData(
ot::UID ID, EntityBase *parent, EntityObserver *obs, ModelState *ms, ClassFactoryHandler *factory,
const std::string &owner);
15 virtual ~EntityFacetData();
17 virtual bool getEntityBox(
double &xmin,
double &xmax,
double &ymin,
double &ymax,
double &zmin,
double &zmax)
override {
return false;};
19 void resetErrors(
void) {
errors.clear(); };
21 std::vector<Geometry::Node> &getNodeVector(
void) {
return nodes; };
22 std::list<Geometry::Triangle> &getTriangleList(
void) {
return triangles; };
23 std::list<Geometry::Edge> &getEdgeList(
void) {
return edges; };
24 std::string &getErrorString(
void) {
return errors; };
25 std::map<ot::UID, std::string> &getFaceNameMap(
void) {
return faceNameMap; };
28 virtual std::string getClassName(
void)
override {
return "EntityFacetData"; };
30 virtual entityType getEntityType(
void)
override {
return DATA; };
33 virtual int getSchemaVersion(
void)
override {
return 1; };
34 virtual void AddStorageData(bsoncxx::builder::basic::document &storage)
override;
35 virtual void readSpecificDataFromDataBase(bsoncxx::document::view &doc_view, std::map<ot::UID, EntityBase *> &entityMap)
override;
37 std::vector<Geometry::Node>
nodes;
39 std::list<Geometry::Edge>
edges;
40 std::map<ot::UID, std::string> faceNameMap;
@ nodes
Definition MonitorSettings.h:17
@ edges
Definition MonitorSettings.h:17
EntityBrep double std::vector< Geometry::Node > std::list< Geometry::Triangle > & triangles
Definition GeometryOperations.h:22
EntityBrep double std::vector< Geometry::Node > std::list< Geometry::Triangle > std::list< Geometry::Edge > std::map< ot::UID, std::string > std::string & errors
Definition GeometryOperations.h:22
unsigned long UID
Unique identifier (32 bit unsigned integer)
Definition CoreTypes.h:27