This method is used for creating a cylinder or cone with the world origin being centered about its diameter and positioned at half of the height. If radiusAlongX and radiusAlongY are the same and topRadius is zero, then a normal circular cone is created. If radiusAlongX and radiusAlongY are not the same and topRadius is zero, then an elliptical cone is created. Otherwise, based on radiusAlongX and radiusAlongY values, a circular or elliptical tapered cylinder is created. If radiusAlongX and topRadius are the same, then a cylinder is created. Otherwise, a cone is created. radiusAlongY determines whether the created cone or cylinder is circular or elliptical, based on whether radiusAlongY is equal to radiusAlongX or not. The base of the frustum lies in the WCS X-Y plane. The direction from the base of the frustum to the top will be in the direction of the positive WCS Z axis.
Public virtual Function CreateFrustum(
height As double,
radiusAlongX As double,
radiusAlongY As double,
topRadius As double
) As void
public virtual void CreateFrustum(
double height,
double radiusAlongX,
double radiusAlongY,
double topRadius
);
| Parameters | Description |
|---|---|
| double height | Input height for the frustum |
| double radiusAlongX | Input radius for the frustum in X direction |
| double radiusAlongY | Input radius for the frustum in Y direction |
| double topRadius | Input radius for top end of the frustum |