Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Namespaces | Functions
Segment.cpp File Reference
#include "modules/bentleyottmann/include/Segment.h"
#include "include/private/base/SkAssert.h"
#include "include/private/base/SkTo.h"
#include "modules/bentleyottmann/include/Int96.h"
#include <algorithm>
#include <cmath>

Go to the source code of this file.

Namespaces

namespace  bentleyottmann
 

Functions

bool bentleyottmann::operator== (const Segment &s0, const Segment &s1)
 
bool bentleyottmann::operator< (const Segment &s0, const Segment &s1)
 
bool bentleyottmann::no_intersection_by_bounding_box (const Segment &s0, const Segment &s1)
 
std::optional< Pointbentleyottmann::intersect (const Segment &s0, const Segment &s1)
 
bool bentleyottmann::less_than_at (const Segment &s0, const Segment &s1, int32_t y)
 
bool bentleyottmann::point_less_than_segment_in_x (Point p, const Segment &segment)
 
bool bentleyottmann::rounded_point_less_than_segment_in_x_lower (const Segment &s, Point p)
 
bool bentleyottmann::rounded_point_less_than_segment_in_x_upper (const Segment &s, Point p)
 
int bentleyottmann::compare_slopes (const Segment &s0, const Segment &s1)