CADability dotNET
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Creates a cone. The cone is defined by two parallel discs with two different radii. The first disc is centered
at location, the second at location + directionZ. directionZ is also the normal vector of both discs.
directionX must be perpendicular to directionZ and specifies the startpoint of the circular edge.
Namespace: CADability.GeoObjectAssembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Syntax
C# |
---|
public static Solid MakeCone( GeoPoint location, GeoVector directionX, GeoVector directionZ, double radius1, double radius2 ) |
Visual Basic |
---|
Public Shared Function MakeCone ( _ location As GeoPoint, _ directionX As GeoVector, _ directionZ As GeoVector, _ radius1 As Double, _ radius2 As Double _ ) As Solid |
Visual C++ |
---|
public: static Solid^ MakeCone( GeoPoint location, GeoVector directionX, GeoVector directionZ, double radius1, double radius2 ) |
Parameters
- location
- Type: CADability..::..GeoPoint
location of the cone
- directionX
- Type: CADability..::..GeoVector
startpoint of edge
- directionZ
- Type: CADability..::..GeoVector
axis of the cone
- radius1
- Type: System..::..Double
radius at location
- radius2
- Type: System..::..Double
radius at location + directionZ