Flutter Engine
The Flutter Engine
|
Classes | |
struct | Cross |
struct | Crossing |
struct | Event |
class | EventQueue |
class | EventQueueInterface |
class | EventQueueTestingPeer |
struct | Int96 |
struct | Lower |
struct | OrderBySlope |
struct | Point |
struct | Segment |
class | SweepLine |
class | SweepLineInterface |
struct | SweepLineTestingPeer |
struct | Upper |
struct | Visitor |
Typedefs | |
using | EventType = std::variant< Lower, Cross, Upper > |
using | DeletionSegmentSet = std::set< Segment > |
using | InsertionSegmentSet = std::set< Segment, OrderBySlope > |
Functions | |
std::optional< std::vector< Crossing > > | bentley_ottmann_1 (SkSpan< const Segment > segments) |
std::optional< std::vector< Crossing > > | brute_force_crossings (SkSpan< const Segment > segments) |
bool | operator== (const Int96 &a, const Int96 &b) |
bool | operator< (const Int96 &a, const Int96 &b) |
Int96 | operator+ (const Int96 &a, const Int96 &b) |
Int96 | multiply (int64_t a, int32_t b) |
Int96 | multiply (int32_t a, int64_t b) |
bool | operator== (const Segment &s0, const Segment &s1) |
bool | operator< (const Segment &s0, const Segment &s1) |
bool | no_intersection_by_bounding_box (const Segment &s0, const Segment &s1) |
std::optional< Point > | intersect (const Segment &s0, const Segment &s1) |
bool | less_than_at (const Segment &s0, const Segment &s1, int32_t y) |
bool | point_less_than_segment_in_x (Point p, const Segment &segment) |
bool | rounded_point_less_than_segment_in_x_lower (const Segment &s, Point p) |
bool | rounded_point_less_than_segment_in_x_upper (const Segment &s, Point p) |
int | compare_slopes (const Segment &s0, const Segment &s1) |
template<class... Ts> | |
Visitor (Ts...) -> Visitor< Ts... > | |
bool | operator< (const Point &p0, const Point &p1) |
bool | operator> (const Point &p0, const Point &p1) |
bool | operator>= (const Point &p0, const Point &p1) |
bool | operator<= (const Point &p0, const Point &p1) |
bool | operator== (const Point &p0, const Point &p1) |
bool | operator!= (const Point &p0, const Point &p1) |
using bentleyottmann::DeletionSegmentSet = typedef std::set<Segment> |
Definition at line 31 of file EventQueueInterface.h.
using bentleyottmann::EventType = typedef std::variant<Lower, Cross, Upper> |
Definition at line 47 of file EventQueue.h.
using bentleyottmann::InsertionSegmentSet = typedef std::set<Segment, OrderBySlope> |
Definition at line 38 of file EventQueueInterface.h.
std::optional< std::vector< Crossing > > bentleyottmann::bentley_ottmann_1 | ( | SkSpan< const Segment > | segments | ) |
Definition at line 16 of file BentleyOttmann1.cpp.
std::optional< std::vector< Crossing > > bentleyottmann::brute_force_crossings | ( | SkSpan< const Segment > | segments | ) |
Definition at line 12 of file BruteForceCrossings.cpp.
Definition at line 329 of file Segment.cpp.
Definition at line 97 of file Segment.cpp.
Definition at line 178 of file Segment.cpp.
Int96 bentleyottmann::multiply | ( | int32_t | a, |
int64_t | b | ||
) |
Int96 bentleyottmann::multiply | ( | int64_t | a, |
int32_t | b | ||
) |
Definition at line 41 of file Int96.cpp.
Definition at line 39 of file Segment.cpp.
Definition at line 214 of file Segment.cpp.
Definition at line 248 of file Segment.cpp.
Definition at line 290 of file Segment.cpp.
bentleyottmann::Visitor | ( | Ts... | ) | -> Visitor< Ts... > |