Flutter Engine
The Flutter Engine
|
Classes | |
class | Crossing |
class | CrossingAccumulator |
struct | Event |
class | EventQueue |
struct | Point |
class | Segment |
class | SweepLine |
Functions | |
constexpr bool | operator< (const Point &p0, const Point &p1) |
constexpr bool | operator== (const Point &p0, const Point &p1) |
constexpr bool | operator!= (const Point &p0, const Point &p1) |
constexpr bool | operator< (const Segment &s0, const Segment &s1) |
constexpr bool | operator== (const Segment &s0, const Segment &s1) |
constexpr bool | operator!= (const Segment &s0, const Segment &s1) |
template<size_t > | |
const myers::Point & | get (const myers::Segment &) |
template<> | |
const myers::Point & | get< 0 > (const myers::Segment &s) |
template<> | |
const myers::Point & | get< 1 > (const myers::Segment &s) |
bool | operator< (const Crossing &c0, const Crossing &c1) |
bool | operator== (const Crossing &c0, const Crossing &c1) |
std::vector< Crossing > | myers_find_crossings (const SkSpan< const Segment > segments) |
std::vector< Crossing > | brute_force_crossings (SkSpan< Segment >) |
Point | operator- (const Point &p0, const Point &p1) |
std::tuple< int64_t, int64_t > | point_to_s64 (Point p) |
int64_t | cross (Point d0, Point d1) |
int64_t | compare_slopes (const Segment &s0, const Segment &s1) |
bool | slope_s0_less_than_slope_s1 (const Segment &s0, const Segment &s1) |
int64_t | compare_point_to_segment (Point p, const Segment &s) |
bool | segment_less_than_upper_to_insert (const Segment &segment, const Segment &to_insert) |
bool | s0_less_than_s1_at_y (const Segment &s0, const Segment &s1, int32_t y) |
bool | s0_intersects_s1 (const Segment &s0, const Segment &s1) |
Definition at line 638 of file Myers.cpp.
Definition at line 117 of file Myers.cpp.
Definition at line 67 of file Myers.cpp.
const myers::Point & myers::get | ( | const myers::Segment & | ) |
|
inline |
|
inline |
Definition at line 565 of file Myers.cpp.
std::tuple< int64_t, int64_t > myers::point_to_s64 | ( | Point | p | ) |
Definition at line 577 of file Myers.cpp.
Definition at line 166 of file Myers.cpp.
bool myers::segment_less_than_upper_to_insert | ( | const Segment & | segment, |
const Segment & | to_insert | ||
) |
Definition at line 158 of file Myers.cpp.