Functions | |
HC_KEY | Insert_Sphere (const HC_POINT *center, double radius, const HC_POINT *axis, const HC_POINT *ortho) |
HC_KEY | DInsert_Sphere (const HC_DPOINT *center, double radius, const HC_DVECTOR *axis, const HC_DVECTOR *ortho) |
HC_KEY Insert_Sphere | ( | const HC_POINT * | center, | |
double | radius, | |||
const HC_POINT * | axis, | |||
const HC_POINT * | ortho | |||
) |
Generates a sphere.
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. |
HC_KEY DInsert_Sphere | ( | const HC_DPOINT * | center, | |
double | radius, | |||
const HC_DVECTOR * | axis, | |||
const HC_DVECTOR * | ortho | |||
) |
Similar to Insert_Sphere(), but operates on double-precision data.
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. |