I am working on cylinders in WorldEditArt, and due to my stubborn and impatient nature, I am trying to let cylinders be oblique. So, I am defining a cylinder with these parameters: Code: T(x2, y2, z2) ||| v ^ / \ < \ \ \ \ \ \ > \ / <= B(x1, y1, z1) v <= distance from B = r This is a the side view of an example of the cylinder, where B is the base point, T is the top point and r is the radius of the cylinder. Now say, if we are having a right cuboid (a cuboid that is perpendicular/parallel to the X, Y and Z axes) to just inscribe the cylinder, like this: Code: ________ | ^ | | / \ | |< \ | | \ \ | | \ \ | | \ >| | \ / | | v | |--------| How can I find out the dimensions (minimum and maximum X, Y and Z coordinates) of the cuboid? To set all blocks in the cylinder, I am trying to iterate through the integer points inside this cuboid, check distance of the point from the central vector BT (which I already found out how from Wolfram Mathworld), and if true, update the block. Or is there another way to do this without iterating through blocks in the cuboid?