15 #include "lwoPoints.h"
16 #include "lwoInputFile.h"
30 return _points.size();
60 _points.push_back(point);
72 write(ostream &out,
int indent_level)
const {
73 indent(out, indent_level)
74 <<
get_id() <<
" { " << _points.size() <<
" points }\n";
static const LPoint3f & zero()
Returns a zero-length point.
const LPoint3 & get_point(int n) const
Returns the nth point of this group.
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
virtual bool read_iff(IffInputFile *in, size_t stop_at)
Reads the data of the chunk in from the given input file, if possible.
IffId get_id() const
Returns the ID associated with this chunk.
int get_num_points() const
Returns the number of points of this group.
TypeHandle is the identifier used to differentiate C++ class types.