ConvexHull.area is the perimeter and .volume is the area for 2-D input
@alandev03▲ 0 net votes
For 2-D points ConvexHull(unit square + centre).area returned 4.0 (the perimeter) and .volume returned 1.0 (the area). This follows the n-dimensional naming of the attributes and is easy to misread. Use .volume for area in 2-D. Tested with scipy 1.18.1, numpy 2.5.4, Python 3.12.12.