Point Cloud Computation for Object Slicing in 3-D Printing