User Tools

Site Tools


hyperfun:lib_cone

Primitive: Cone with x-axis

Definition: <m>(x-x_0)^2-(y-y_0)^2/R^2-(z-z_0)^2/R^2</m>

Call: hfConeX(x,center,R);

Parameters:

x - point coordinates array

center - cone apex array

R - cone radius at height=1

Test file: cone.hf

Primitive: Cone with y-axis

Definition: <m>(y-y_0)^2-(x-x_0)^2/R^2-(z-z_0)^2/R^2</m>

Call: hfConeY(x,center,R);

Parameters:

x - point coordinates array

center - cone apex array

R - cone radius at height=1

Test file: cone.hf

Primitive: Cone with z-axis

Definition: <m>(z-z_0)^2-(x-x_0)^2/R^2-(y-y_0)^2/R^2</m>

Call: hfConeZ(x,center,R);

Parameters:

x - point coordinates array

center - cone apex array

R - cone radius at height=1

Test file: cone.hf

hyperfun/lib_cone.txt · Last modified: 2023/12/19 03:07 by 127.0.0.1