__init__(self, List[Point] vertices) | zlayout::geometry::Polygon | |
__repr__(self) | zlayout::geometry::Polygon | |
_point_on_edge(self, Point point, Point edge_start, Point edge_end) | zlayout::geometry::Polygon | protected |
add_vertex(const Point &vertex) | zlayout::geometry::Polygon | |
all_vertex_angles() const | zlayout::geometry::Polygon | |
area() const | zlayout::geometry::Polygon | |
area(self) | zlayout::geometry::Polygon | |
bounding_box() const | zlayout::geometry::Polygon | |
bounding_box(self) | zlayout::geometry::Polygon | |
centroid() const | zlayout::geometry::Polygon | |
clear() | zlayout::geometry::Polygon | inline |
closest_point_to(const Point &point) const | zlayout::geometry::Polygon | |
contains_point(const Point &point) const | zlayout::geometry::Polygon | |
contains_point(self, Point point) | zlayout::geometry::Polygon | |
distance_to(const Polygon &other) const | zlayout::geometry::Polygon | |
distance_to(const Point &point) const | zlayout::geometry::Polygon | |
distance_to_line(const Point &line_start, const Point &line_end) const | zlayout::geometry::Polygon | |
edges() const | zlayout::geometry::Polygon | |
edges(self) | zlayout::geometry::Polygon | |
ensure_clockwise() const | zlayout::geometry::Polygon | |
ensure_counterclockwise() const | zlayout::geometry::Polygon | |
find_narrow_regions(const Polygon &other, double threshold_distance) const | zlayout::geometry::Polygon | |
from_rectangle(const Rectangle &rect) | zlayout::geometry::Polygon | static |
get_sharp_angles(double threshold_degrees=30.0) const | zlayout::geometry::Polygon | |
get_sharp_angles(self, float threshold_degrees=30.0) | zlayout::geometry::Polygon | |
has_self_intersections() const | zlayout::geometry::Polygon | |
insert_vertex(size_t index, const Point &vertex) | zlayout::geometry::Polygon | |
intersection_points(const Polygon &other) const | zlayout::geometry::Polygon | |
intersects(const Polygon &other) const | zlayout::geometry::Polygon | |
is_clockwise() const | zlayout::geometry::Polygon | |
is_convex() const | zlayout::geometry::Polygon | |
is_convex(self) | zlayout::geometry::Polygon | |
is_counterclockwise() const | zlayout::geometry::Polygon | inline |
is_empty() const | zlayout::geometry::Polygon | inline |
is_simple() const | zlayout::geometry::Polygon | |
is_valid() const | zlayout::geometry::Polygon | inline |
line_segment_intersection(const Point &seg1_start, const Point &seg1_end, const Point &seg2_start, const Point &seg2_end, bool &intersects) | zlayout::geometry::Polygon | static |
min_edge_distance_to(const Polygon &other) const | zlayout::geometry::Polygon | |
operator!=(const Polygon &other) const | zlayout::geometry::Polygon | |
operator<<(std::ostream &os, const Polygon &polygon) | zlayout::geometry::Polygon | friend |
operator=(const Polygon &other)=default | zlayout::geometry::Polygon | |
operator=(Polygon &&other) noexcept=default | zlayout::geometry::Polygon | |
operator==(const Polygon &other) const | zlayout::geometry::Polygon | |
perimeter() const | zlayout::geometry::Polygon | |
point_on_boundary(const Point &point, double tolerance=Point::TOLERANCE) const | zlayout::geometry::Polygon | |
Polygon()=default | zlayout::geometry::Polygon | |
Polygon(const std::vector< Point > &vertices) | zlayout::geometry::Polygon | explicit |
Polygon(std::initializer_list< Point > vertices) | zlayout::geometry::Polygon | |
Polygon(const Polygon &other)=default | zlayout::geometry::Polygon | |
Polygon(Polygon &&other) noexcept=default | zlayout::geometry::Polygon | |
regular_polygon(const Point ¢er, double radius, size_t vertex_count) | zlayout::geometry::Polygon | static |
remove_vertex(size_t index) | zlayout::geometry::Polygon | |
reverse() const | zlayout::geometry::Polygon | |
rotate(double angle) const | zlayout::geometry::Polygon | |
rotate_around(const Point ¢er, double angle) const | zlayout::geometry::Polygon | |
scale(double factor) const | zlayout::geometry::Polygon | |
scale(double x_factor, double y_factor) const | zlayout::geometry::Polygon | |
segment_to_segment_distance(const Point &seg1_start, const Point &seg1_end, const Point &seg2_start, const Point &seg2_end) | zlayout::geometry::Polygon | static |
segments_intersect(const Point &seg1_start, const Point &seg1_end, const Point &seg2_start, const Point &seg2_end) | zlayout::geometry::Polygon | static |
signed_area() const | zlayout::geometry::Polygon | |
simplify(double tolerance=Point::TOLERANCE) const | zlayout::geometry::Polygon | |
to_string() const | zlayout::geometry::Polygon | |
translate(const Point &offset) const | zlayout::geometry::Polygon | |
vertex_angle(size_t vertex_index) const | zlayout::geometry::Polygon | |
vertex_count() const | zlayout::geometry::Polygon | inline |
vertices | zlayout::geometry::Polygon | |
vertices | zlayout::geometry::Polygon | |