27 INLINE
explicit EggLine(
const std::string &name =
"");
32 virtual EggLine *make_copy()
const override;
34 virtual void write(std::ostream &out,
int indent_level)
const override;
36 INLINE
bool has_thick()
const;
37 INLINE
double get_thick()
const;
38 INLINE
void set_thick(
double thick);
39 INLINE
void clear_thick();
42 virtual int get_num_lead_vertices()
const override;
52 static void init_type() {
53 EggCompositePrimitive::init_type();
55 EggCompositePrimitive::get_class_type());
58 return get_class_type();
60 virtual TypeHandle force_init_type()
override {
62 return get_class_type();
The base class for primitives such as triangle strips and triangle fans, which include several compon...
A line segment, or a series of connected line segments, defined by a <Line> entry.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.