25 EggVertexAux(
const std::string &name,
const LVecBase4d &aux) :
46 EggNamedObject::operator = (copy);
65 nassertr(first->get_name() == second->get_name(),
nullptr);
67 LVecBase4d aux = (first->_aux + second->_aux) / 2;
75 write(std::ostream &out,
int indent_level)
const {
76 std::string inline_name = get_name();
77 if (!inline_name.empty()) {
81 <<
"<Aux> " << inline_name <<
"{ " <<
get_aux() <<
" }\n";
91 compare = _aux.compare_to(other._aux, egg_parameters->_pos_threshold);
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
int compare_to(const EggVertexAux &other) const
An ordering operator to compare two vertices for sorting order.
PT(EggVertexAux) EggVertexAux
Creates a new EggVertexAux that contains the averaged values of the two given objects.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
The set of named auxiliary data that may or may not be assigned to a vertex.
This is a fairly low-level base class–any egg object that has a name.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
const LVecBase4d & get_aux() const
Returns the auxiliary data quadruple.