A computer method (500-570) draws overlapped two-dimensional shapes(A, B) and two-dimensional projections of three-dimensional shapes (C') onto aprojection plane (102) in a system of world coordinates (X, Y, Z). The methodinstantiates a plurality of two-dimensional geometry class objects (320',320"), eachof which includes an order attribute (ORDER) specifying an overlapped positionfor depicting a corresponding two-dimensional shape (A, B) on the projectionplane(102) positioned orthogonally to the Z coordinate of the world coordinatesystem.The method (500-570) instantiates a three-dimensional geometry class object(330',330") including a Z-value (Z-value) for a position along the Z worldcoordinate ofthe three-dimensional shape (C'). The method sons the plurality of two-dimensionalgeometry class objects by their respective order attributes in a sorting tableinthe memory (510). The method sorts the three-dimensional geometry class objectby its Z-value in the sorting table and orders it in a composite order withthetwo-dimensional class objects in the sorting table (520). The method thendrawsthe two-dimensional shapes (A, B) and two-dimensional projections of thethree-dimensional shapes (C') onto the projection plane (102) in the compositetable (400)order, to depict an overlapped appearance of the shapes.
展开▼