27 return _points.size();
35 nassertr(n >= 0 && n < (
int)_points.size(), LPoint3::zero());
51 _points.push_back(point);
61 write(std::ostream &out,
int indent_level)
const {
63 <<
get_id() <<
" { " << _points.size() <<
" points }\n";
int get_num_points() const
Returns the number of points of this group.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
const LPoint3 & get_point(int n) const
Returns the nth point of this group.
virtual bool read_iff(IffInputFile *in, size_t stop_at)
Reads the data of the chunk in from the given input file, if possible.
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
IffId get_id() const
Returns the ID associated with this chunk.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.