14#ifndef EGGTODXFLAYER_H
15#define EGGTODXFLAYER_H
44 int get_autocad_color(
const LColor &color);
A base class for nodes in the hierarchy that are not leaf nodes.
A single layer in the DXF file to be written by EggToDXF.
void write_polyline(EggPolygon *poly, std::ostream &out)
Writes a polygon as a POLYLINE entity.
void write_entities(std::ostream &out)
Writes out the "entities", e.g.
void write_3d_face(EggPolygon *poly, std::ostream &out)
Writes a polygon as a 3DFACE entity.
void write_layer(std::ostream &out)
Writes the layer definition into the table at the beginning of the DXF file.
void add_color(const LColor &color)
Records that one polygon is defined using the indicated color.
void choose_overall_color()
After all polygons have been accounted for, chooses the polygon color that occurred most often as the...
A program to read an egg file and write a DXF file.
This is our own Panda specialization on the default STL map.
This is our own Panda specialization on the default STL vector.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.