Geometry-Based Structural Analysis And Design Via Discrete Stress Functions