Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RoundCone

A shape that is a 3D cone with round corners. A shape that is a 3D cone with round corners.

Hierarchy

  • RoundCone

Index

Constructors

Properties

Methods

Constructors

constructor

  • new RoundCone(halfHeight: number, radius: number, borderRadius: number): RoundCone
  • new RoundCone(halfHeight: number, radius: number, borderRadius: number): RoundCone
  • Creates a new cone with the given radius and half-height.

    Parameters

    • halfHeight: number

      The balls half-height along the y axis.

    • radius: number

      The balls radius.

    • borderRadius: number

      The radius of the borders of this cone.

    Returns RoundCone

  • Creates a new cone with the given radius and half-height.

    Parameters

    • halfHeight: number

      The balls half-height along the y axis.

    • radius: number

      The balls radius.

    • borderRadius: number

      The radius of the borders of this cone.

    Returns RoundCone

Properties

Readonly borderRadius

borderRadius: number

The radius of the cylinder's rounded edges and vertices. The radius of the cylinder's rounded edges and vertices.

Readonly halfHeight

halfHeight: number

The cone's half height, along the y axis. The cone's half height, along the y axis.

Readonly radius

radius: number

The radius of the cone's basis. The radius of the cone's basis.

Methods

intoRaw

  • intoRaw(): RawShape
  • intoRaw(): RawShape
  • Returns RawShape

  • Returns RawShape

Generated using TypeDoc