Creates a cone primitive generator.
Declaration Syntax
public ISolidCone CreateCone(IEnumerable<double> center, IEnumerable<double> direction, double radius1, double radius2)
Parameters
- center(IEnumerable<double>)
Center of the cone.
- direction(IEnumerable<double>)
Direction of the cone.
- radius1(double)
Top radius of the cone.
- radius2(double)
Bottom radius of the cone.