A collection of boundary points does not preserve every feature of the region they once outlined. Taking its convex hull deliberately fills gaps needed to make every connecting segment stay inside the result. A concavity can disappear even though the input points themselves remain unchanged. The resulting envelope answers a different geometric question from reconstructing the original boundary.
For robot vision or drawing models, that distinction matters before interpreting an enclosing polygon as occupied material. This article specifies an invented planar shape and analyzes its point set in exact geometry. It does not report an image segmentation, an executed hull library, or a verified collision envelope.
Start with a boundary, not just a point list
Use these vertices in counterclockwise boundary order: (0,0), (4,0), (4,1), (1,1), (1,4), and (0,4), with coordinates in millimeters. Closing the final edge to the start makes an L-shaped region. It is the union of the horizontal rectangle [0,4] by [0,1] and the vertical rectangle [0,1] by [0,4].
The two rectangles each have area 4 square millimeters and overlap in one square millimeter. The L region therefore has area 4 + 4 - 1 = 7 square millimeters. Its boundary order specifies which straight segments connect and which side forms the region.
Now forget that edge connectivity and retain only the six coordinate points. Many geometric constructions can use them. Their axis-aligned bounding box is [0,4] by [0,4], with area 16 square millimeters. Their convex hull is smaller than that box, but it still fills part of the L's missing corner.
Convexity forces connecting segments inside
CGAL's official manual defines a convex set by inclusion of every segment between its points, and the convex hull as the smallest convex containing set. SciPy's official reference describes hull vertices and dimensional interpretations of returned measures. These definitions frame the calculation; the L shape, point checks, and comparisons here are independently constructed.
The original boundary includes points A = (4,1) and B = (1,4). A convex set containing them must also contain their whole connecting segment, whose equation is x + y = 5 between those endpoints. Much of that segment lies outside the original L region, where both x and y exceed one.
The hull must include the region between this shortcut and the inward boundary through (1,1). The new triangular portion has perpendicular legs of length 3 millimeters, so its area is one-half times 3 times 3 = 4.5 square millimeters. Adding it to the original 7 gives hull area 11.5 square millimeters.
List the actual extreme vertices
The hull's counterclockwise extreme-vertex order is (0,0), (4,0), (4,1), (1,4), and (0,4). The inward corner (1,1) is no longer an extreme vertex. It remains inside the resulting polygon; computing a hull did not delete that coordinate from the input record.
For a direct interior example, the point (2,2) is 0.4 times (4,1) plus 0.4 times (1,4) plus 0.2 times (0,0). The weights are nonnegative and sum to one, so the point belongs to the convex hull. It is outside the L region because both coordinates exceed one.
Conversely, (3.5,3.5) lies inside the bounding box but outside the hull: its coordinate sum is 7, exceeding the hull's diagonal boundary x + y = 5 in that corner. The original region, hull, and box are therefore three distinct sets with areas 7, 11.5, and 16 respectively.
A turn calculation exposes the concavity
For successive points a, b, and c, compute the signed determinant delta = (b_x-a_x)(c_y-a_y) - (b_y-a_y)(c_x-a_x). Positive delta is a left turn, negative delta a right turn, and zero indicates collinearity in exact arithmetic.
At a = (4,1), b = (1,1), and c = (1,4), the determinant is -9 square millimeters. This right turn interrupts the left-turn sequence expected along a counterclockwise convex polygon. Replacing that inward passage with the outer segment is consistent with the hull's convexity requirement.
For consecutive hull vertices (4,0), (4,1), and (1,4), the determinant is +3. Orientation predicates of this kind support hull algorithms, including the families CGAL documents. This article uses the determinant as a direct geometric check; it does not claim to reproduce a particular library's internal algorithm.
Boundary membership and vertex policy differ
Add the point (2,0) to the input. It lies midway along the hull's bottom edge, so it changes neither the hull set nor its area. The determinant for (0,0), (2,0), and (4,0) is zero. The middle point is not extreme because it is a convex combination of the endpoints.
A representation that returns only extreme points omits that collinear middle coordinate. Another boundary listing can retain it without changing the enclosed geometric set. CGAL's documented extreme-point convention makes this distinction explicit. The number of reported boundary entries therefore needs its convention before being interpreted as shape complexity.
Measure labels also need dimension
The hull perimeter is 4 + 1 + 3 sqrt(2) + 1 + 4, or 10 + 3 sqrt(2), approximately 14.242641 millimeters. That is a length, not the 11.5-square-millimeter area. SciPy documents that its ConvexHull area attribute means perimeter in two dimensions, while volume means enclosed planar area. A familiar attribute name does not replace checking dimensional meaning.
Finally, the hull is a mathematical enclosure of the supplied point set. It does not prove that its newly filled portions contain real object material or that unobserved points are absent outside it. Preserve original boundary connectivity when that information matters, and distinguish a deliberately convex envelope from a reconstruction of concavities or holes.
Sources checked October 24, 2026:
CGAL: 2D Convex Hulls and Extreme Points: https://doc.cgal.org/latest/Convex_hull_2/index.html
SciPy: scipy.spatial.ConvexHull: https://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.ConvexHull.html
Image caption: Concept illustration from the site media library. Robot over a bin of metallic parts with blue projected sensing pattern; generic vision context. This scene does not depict the mathematical inputs or an executed hardware or software experiment.