ladybug_geometry.geometry2d packageΒΆ
SubmodulesΒΆ
- ladybug_geometry.geometry2d.arc module
Arc2D
ToString()
closest_point()
distance_to_point()
duplicate()
from_dict()
from_start_mid_end()
intersect_line_infinite()
intersect_line_ray()
move()
point_at()
point_at_angle()
point_at_length()
reflect()
rotate()
scale()
split_line_infinite()
subdivide()
subdivide_evenly()
to_dict()
to_polyline()
a1
a2
angle
area
c
is_circle
is_inverted
length
max
midpoint
min
p1
p2
r
- ladybug_geometry.geometry2d.line module
LineSegment2D
ToString()
closest_point()
closest_points_between_line()
distance_to_line()
distance_to_point()
duplicate()
flip()
from_array()
from_dict()
from_end_points()
from_sdl()
intersect_line_ray()
is_colinear()
is_equivalent()
is_parallel()
move()
offset()
point_at()
point_at_length()
reflect()
rotate()
scale()
subdivide()
subdivide_evenly()
to_array()
to_dict()
center
endpoints
length
max
midpoint
min
p
p1
p2
v
vertices
- ladybug_geometry.geometry2d.mesh module
Mesh2D
ToString()
duplicate()
from_dict()
from_face_vertices()
from_grid()
from_polygon_grid()
from_polygon_triangulated()
from_purged_face_vertices()
join_meshes()
move()
reflect()
remove_faces()
remove_faces_only()
remove_vertices()
rotate()
scale()
to_dict()
triangulated()
area
center
centroid
colors
edges
face_area_centroids
face_areas
face_centroids
face_edges
face_vertices
faces
internal_edges
is_color_by_face
max
min
naked_edges
non_manifold_edges
vertex_connected_faces
vertices
- ladybug_geometry.geometry2d.pointvector module
Point2D
ToString()
angle()
angle_clockwise()
angle_counterclockwise()
circular_mean()
cross()
determinant()
distance_to_point()
dot()
duplicate()
from_array()
from_dict()
is_equivalent()
is_zero()
move()
normalize()
reflect()
reverse()
rotate()
scale()
to_array()
to_dict()
magnitude
magnitude_squared
max
min
x
y
Vector2D
- ladybug_geometry.geometry2d.polygon module
Polygon2D
ToString()
boolean_difference()
boolean_intersect()
boolean_intersect_all()
boolean_split()
boolean_union()
boolean_union_all()
boolean_xor()
common_axes()
distance_from_edge_to_point()
distance_to_point()
does_polygon_touch()
duplicate()
from_array()
from_dict()
from_rectangle()
from_regular_polygon()
from_shape_with_hole()
from_shape_with_holes()
from_shape_with_holes_fast()
gap_crossing_boundary()
group_boundaries_and_holes()
group_by_overlap()
group_by_touching()
intersect_line_infinite()
intersect_line_ray()
intersect_polygon_segments()
intersect_segments()
is_equivalent()
is_point_inside()
is_point_inside_bound_rect()
is_point_inside_check()
is_point_on_edge()
is_polygon_inside()
is_polygon_outside()
is_rectangle()
joined_intersected_boundary()
move()
offset()
overlapping_bounding_rect()
perimeter_core_by_offset()
point_relationship()
pole_of_inaccessibility()
polygon_relationship()
rectangular_approximation()
reflect()
remove_colinear_vertices()
remove_duplicate_vertices()
reverse()
rotate()
scale()
snap_polygons()
snap_to_grid()
snap_to_polygon()
split_through_self_intersection()
to_array()
to_dict()
area
center
inside_angles
is_clockwise
is_convex
is_self_intersecting
is_valid
max
min
outside_angles
perimeter
segments
self_intersection_points
vertices
- ladybug_geometry.geometry2d.polyline module
Polyline2D
ToString()
duplicate()
from_array()
from_dict()
from_polygon()
intersect_line_infinite()
intersect_line_ray()
is_closed()
join_segments()
move()
offset()
reflect()
remove_colinear_vertices()
reverse()
rotate()
scale()
to_array()
to_dict()
to_polygon()
center
interpolated
is_self_intersecting
length
max
min
p1
p2
segments
vertices
- ladybug_geometry.geometry2d.ray module
Module contentsΒΆ
Geometry objects in 2D space.