HC_DInsert_Sphere

Key HC_DInsert_Sphere(DPoint const *center, double radius, DVector const *axis, DVector const *ortho)
Key HC_DInsert_Sphere(DPoint const center, double radius, DVector const axis, DVector const ortho)

Similar to Insert_Sphere(), but operates on double-precision data.

Parameters

center: An x-y-z triplet for the coordinates of center the sphere. (A simple array of three elements may also be used in most languages.) Passed by reference always.

radius: Length of the radius of the sphere.

axis: Vector that points in the longtitudal/vertical direction. If null then a default value of <0,10,0> is applied.

ortho: Vector that points in the latitudal/horizontal direction. If null then a default value of <1,0,0> is applied.

Returns

The key to the inserted geometry, or -1 if an error occurred.