24 nassertr(!_edges.empty() && !other._edges.empty(),
false);
25 return _edges.front() < other._edges.front();
47 return _edges.front() == other._edges.front();
58 return (_edges.empty());
69 return (_edges.size() > 2);
80 return _planar && other._planar &&
81 _strips.front()->is_coplanar_with(*other._strips.front(),
82 egg_coplanar_threshold);
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 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 is_empty() const
Returns true if the fan maker has no edges, false otherwise.