Basic primitives and convex hull.