TruncatedConeGeometryObjectclass encapsulates data pertaining to a truncated cone primitive.
class TruncatedConeGeometryObject final : public PrimitiveGeometryObject
||Returns the truncated cone base size.|
||Sets the truncated cone base size.|
||Returns the truncated cone height.|
||Sets the truncated cone height.|
||Returns the ratio of the upper size to the base size of a truncated cone.|
||Sets the ratio of the upper size to the base size of a truncated cone.|
TruncatedConeGeometryObject(const Vector2D& size, float height, float ratio);
||The size of the cone base.|
||The height of the cone.|
||The ratio of the upper size to the base size.|
TruncatedConeGeometryObjectclass encapsulates data pertaining to a truncated cone primitive. In its local coordinate space, a truncated cone primitive has the center of its base at the origin, and the components of the
sizeparameter define the semiaxis lengths of the base in the positive x and y directions. The
heightparameter defines the distance in the positive z direction between the base of the cone and the plane parallel to the base at which the cone is truncated. The
ratioparameter defines the ratio between the size of the top face and the bottom face (the base) of the truncated cone and should be in the range (0,1].