/********************************************************************/ /* Copyright (c) 2017 System fugen G.K. and Yuzi Mizuno */ /* All rights reserved. */ /********************************************************************/ #if !defined( __MGIGESVertexListMap_H__) #define __MGIGESVertexListMap_H__ #include #include #include "mg/Pvector.h" #include "topo/BVertex.h" #include "mgIges/igesPD502.h" class MGIgesIfstream; ///Is the class to store MGBVertex*(newed objects) generated for MGIges502 Vertices list. class MGIgesVertexListMap{ public: typedef std::map PD502toVertexMap; //MGIgesPD502 is a vactor of vertices. So the 2nd int(say i) is //a index of m_VerticesVector. Thus m_VerticesVector[i] is //the vector of vertices of MGIgesPD502. /// Constructors. /// Constructs an object of class MGIgesVertexListMap. MGIgesVertexListMap(MGIgesIfstream* ifs=0):m_ifstream(ifs){;}; ///Obtain MGBVertex* of the the DE of the Vertices List Entry(MGIgesPD504) and ///the indgex vertex. MGBVertex* get_BVertex( int DEid, /// > m_VerticesVector; }; #endif /// __MGIGESVertexListMap_H__