Overview | Statement List


5个点

Synopsis

obj = GCONIC/point1,point2,point3,point4,point5

Description

Creates a conic by specifying five previously defined points. A parabola, ellipse, or hyperbola is created depending upon the position of the points defined. All of the specified points lie on the conic, however the conic may not be drawn through all of the points.

Parameters

Parameter

Description

point1,point2,point3,point 4,point 5

Five previously defined points which are on the curve. All of the points must be co-planar; however, no three of the points may be collinear. The conic is created in the plane established by the five points. The points must be specified individually if an array is used.

Example

Creating a conic through five previously defined points. In this case, the conic is created counterclockwise from P(1) to P(5).

Even though the points, P(1) through P(5), are in an object array, they must be specified individually in the GCONIC statement.

Declaration

ENTITY/P(5),GC1

Geometry Definition

P(1)=POINT/1.8,1.6
P(2)=POINT/1,1.3
P(3)=POINT/.8,.6
P(4)=POINT/1.7,.7
P(5)=POINT/2.3,.9

Conic Definition

GC1=GCONIC/P(1),P(2),P(3),P(4),P(5)

General Conic Using Five Points

 


Copyright ©2015 胡君NX二次开发官网(www.UGapi.com) QQ:85585969 All Rights Reserved.