Applying Geometry to Visual Perceptual Relationships