ISolidCone ISolids.CreateCone(IEnumerable<Double> center, IEnumerable<Double> direction, Double radius1, Double radius2)

Creates a cone primitive generator.

Parameters

  • center
    Type: IEnumerable<Double>
    Center of the cone.
  • direction
    Type: IEnumerable<Double>
    Direction of the cone.
  • radius1
    Type: Double
    Top radius of the cone.
  • radius2
    Type: Double
    Bottom radius of the cone.

Return Value

Returns the cone generator.