Internal and External Analysis Considering the Layers of Three-dimensional Shapes Using CUDA