# Shapes: cone

XSight RT supports two basic and very similar *surfaces of revolution* (SOR): **cones** and cylinders.

## Syntax

The most general way to define is cone is by giving the position of its bottom's center, its top and the radius of its base.

- Cone(Bottom, Top, Radius, Material)

If you only need a vertical cone, you can substitute the coordinates for the top with the height of the cone:

- Cone(Bottom, Height, Radius, Material)

And this final variant splits the bottom vector into its three individual components:

- Cone(X, Y, Z, Height, Radius, Material)

Cones in XSight RT are never open. However, you can simulate an open cone using the difference operator, by removing the inner part from a cone using another smaller one.

## See also

Home |
Predefined shapes |
Box |
Cylinder |
Sphere |
Torus |
Polyhedra |
Blob |
Difference |
Scenes |
Materials