Overview | Statement List


Six Coefficients

Synopsis

obj = GCONIC/number list

Description

Creates a general conic by specifying the six coefficient values which are used in the general quadratic conic formula to calculate the conic:

AX2+BXY+CY2+DX+EY+F=0

Parameters

Parameter

Description

number list

The number list must contain six fields of real numbers. The numbers may previously defined variables.

Example

Creating a general conic by specifying the six numerical coefficients to be used in the quadratic general conic formula to calculate the conic.

GC1 is a circle with a radius of 1 and the center at coordinates 0,0,0.

GC2 is a parabola with its vertex at -1.1875,.6875,0 and a focal length of .3536. The maximum and minimum "Y" distances, in the coordinate system of the parabola, are 1 and -1 respectively.

Declaration

ENTITY/GC1,GC2
NUMBER/COEF(6)
DATA/COEF,1,2,1,3,-1,4

Conic Definition

GC1=GCONIC/1,0,1,0,0,-1
GC2=GCONIC/COEF

General Conic Using Six Coefficients

 


Copyright ©2015 ºú¾ýNX¶þ´Î¿ª·¢¹ÙÍø£¨www.UGapi.com£© QQ:85585969 All Rights Reserved.