14 #ifndef EGGTODXFLAYER_H 15 #define EGGTODXFLAYER_H 44 int get_autocad_color(
const LColor &color);
void write_3d_face(EggPolygon *poly, std::ostream &out)
Writes a polygon as a 3DFACE entity.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A base class for nodes in the hierarchy that are not leaf nodes.
void write_polyline(EggPolygon *poly, std::ostream &out)
Writes a polygon as a POLYLINE entity.
void write_layer(std::ostream &out)
Writes the layer definition into the table at the beginning of the DXF file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
void write_entities(std::ostream &out)
Writes out the "entities", e.g.
A single layer in the DXF file to be written by EggToDXF.
void add_color(const LColor &color)
Records that one polygon is defined using the indicated color.