Panda3D
pandatool
src
dxf
dxfVertex.h
Go to the documentation of this file.
1
/**
2
* PANDA 3D SOFTWARE
3
* Copyright (c) Carnegie Mellon University. All rights reserved.
4
*
5
* All use of this software is subject to the terms of the revised BSD
6
* license. You should have received a copy of this license along
7
* with this source code in a file named "LICENSE."
8
*
9
* @file dxfVertex.h
10
* @author drose
11
* @date 2004-05-04
12
*/
13
14
#ifndef DXFVERTEX_H
15
#define DXFVERTEX_H
16
17
#include "
pandatoolbase.h
"
18
#include "
pvector.h
"
19
#include "
luse.h
"
20
21
/**
22
* Stored within DXFFile, this is the basic Vertex data of a DXF file. When
23
* DXFFile::DoneEntity() is called, if the entity is a type to have vertices,
24
* then DXFFile::_verts contains a list of all the vertices that belong to the
25
* entity.
26
*/
27
class
DXFVertex
{
28
public
:
29
DXFVertex
() { }
30
DXFVertex
(
const
LPoint3d &p) : _p(p) { }
31
int
operator <
(
const
DXFVertex
&other)
const
;
32
33
LPoint3d _p;
34
};
35
36
typedef
pvector<DXFVertex>
DXFVertices
;
37
38
#endif
pvector< DXFVertex >
pvector.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
luse.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
DXFVertex
Stored within DXFFile, this is the basic Vertex data of a DXF file.
Definition:
dxfVertex.h:27
DXFVertex::operator<
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:21
pandatoolbase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Generated on Mon Sep 14 2020 15:07:09 for Panda3D by
1.8.20