|
@@ -1,4 +1,4 @@
|
|
|
-// Filename: dxfVertexMap.h
|
|
|
|
|
|
|
+// Filename: dxfLayer.cxx
|
|
|
// Created by: drose (04May04)
|
|
// Created by: drose (04May04)
|
|
|
//
|
|
//
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
@@ -16,24 +16,23 @@
|
|
|
//
|
|
//
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
-#ifndef DXFVERTEXMAP_H
|
|
|
|
|
-#define DXFVERTEXMAP_H
|
|
|
|
|
|
|
+#include "dxfLayer.h"
|
|
|
|
|
|
|
|
-#include "pandatoolbase.h"
|
|
|
|
|
-
|
|
|
|
|
-#include "dxfVertex.h"
|
|
|
|
|
-#include "pmap.h"
|
|
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
-// Class : DXFVertexMap
|
|
|
|
|
-// Description : This is a map of DXFVertex to an integer index
|
|
|
|
|
-// number. It is intended to be used to collapse
|
|
|
|
|
-// together identical vertices, since the DXF file has
|
|
|
|
|
-// no inherent notion of shared vertices.
|
|
|
|
|
|
|
+// Function: DXFLayer::Constructor
|
|
|
|
|
+// Access: Public
|
|
|
|
|
+// Description:
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
-class DXFVertexMap : public pmap<DXFVertex, int> {
|
|
|
|
|
-public:
|
|
|
|
|
- int get_vertex_index(const DXFVertex &vert);
|
|
|
|
|
-};
|
|
|
|
|
|
|
+DXFLayer::
|
|
|
|
|
+DXFLayer(const string &name) : Namable(name) {
|
|
|
|
|
+}
|
|
|
|
|
|
|
|
-#endif
|
|
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
|
|
+// Function: DXFLayer::Destructor
|
|
|
|
|
+// Access: Public, Virtual
|
|
|
|
|
+// Description:
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
|
|
+DXFLayer::
|
|
|
|
|
+~DXFLayer() {
|
|
|
|
|
+}
|