Modeling geometric, generation or forming of curved surface