Panda3D
 All Classes Functions Variables Enumerations
dxfVertex.h
1 // Filename: dxfVertex.h
2 // Created by: drose (04May04)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #ifndef DXFVERTEX_H
16 #define DXFVERTEX_H
17 
18 #include "pandatoolbase.h"
19 #include "pvector.h"
20 #include "luse.h"
21 
22 ////////////////////////////////////////////////////////////////////
23 // Class : DXFVertex
24 // Description : Stored within DXFFile, this is the basic Vertex data
25 // of a DXF file. When DXFFile::DoneEntity() is called,
26 // if the entity is a type to have vertices, then
27 // DXFFile::_verts contains a list of all the vertices
28 // that belong to the entity.
29 ////////////////////////////////////////////////////////////////////
30 class DXFVertex {
31 public:
32  DXFVertex() { }
33  DXFVertex(const LPoint3d &p) : _p(p) { }
34  int operator < (const DXFVertex &other) const;
35 
36  LPoint3d _p;
37 };
38 
40 
41 #endif
42 
int operator<(const DXFVertex &other) const
This defines a unique ordering for vertices so that the DXFVertexMap can group identical vertices tog...
Definition: dxfVertex.cxx:25
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
Definition: lpoint3.h:531
Stored within DXFFile, this is the basic Vertex data of a DXF file.
Definition: dxfVertex.h:30