20 nassertr(!_edges.empty() && !other._edges.empty(),
false);
21 return _edges.front() < other._edges.front();
39 return _edges.front() == other._edges.front();
47 return (_edges.empty());
56 return (_edges.size() > 2);
64 return _planar && other._planar &&
65 _strips.front()->is_coplanar_with(*other._strips.front(),
66 egg_coplanar_threshold);
bool operator==(const EggMesherFanMaker &other) const
Provides a unique ordering between different fan makers based on the leading edge.
bool operator !=(const EggMesherFanMaker &other) const
Provides a unique ordering between different fan makers based on the leading edge.
This class is used by EggMesher::find_fans() to attempt to make an EggTriangleFan out of the polygons...
bool is_coplanar_with(const EggMesherFanMaker &other) const
Returns true if the strip and the other strip are coplanar.
bool operator<(const EggMesherFanMaker &other) const
Provides a unique ordering between different fan makers based on the leading edge.
bool is_valid() const
Returns true if the fan maker has enough edges to define at least one fan, false otherwise.
bool is_empty() const
Returns true if the fan maker has no edges, false otherwise.