ISolidCylinder ISolids.CreateCylinder(IEnumerable<Double> center, IEnumerable<Double> direction, Double radius)

Creates a cylinder primitive generator.

Parameters

  • center
    Type: IEnumerable<Double>
    The center of the cylinder.
  • direction
    Type: IEnumerable<Double>
    The direction of the cylinder.
  • radius
    Type: Double
    The radius of the cylinder.

Return Value

Returns the cylinder generator.