Go to the documentation of this file.
44 write(std::ostream &out,
int indent_level)
const {
48 indent(out, indent_level + 2)
49 <<
"<Scalar> thick { " <<
get_thick() <<
" }\n";
52 if (has_perspective()) {
53 indent(out, indent_level + 2)
57 write_body(out, indent_level + 2);
58 indent(out, indent_level) <<
"}\n";
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
bool get_perspective() const
Returns the perspective flag set on this particular point.
TypeHandle is the identifier used to differentiate C++ class types.
void write_header(std::ostream &out, int indent_level, const char *egg_keyword) const
Writes the first line of the egg object, e.g.
void remove_nonunique_verts()
Removes any multiple appearances of the same vertex from the primitive.
virtual EggPoint * make_copy() const override
Makes a copy of this object.
virtual void write(std::ostream &out, int indent_level) const override
Writes the point to the indicated output stream in Egg format.
double get_thick() const
Returns the thickness set on this particular point.
virtual bool cleanup() override
Cleans up modeling errors in whatever context this makes sense.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A single point, or a collection of points as defined by a single <PointLight> entry.