Overview | Statement List


Two Points, Anchor Point, Rho Value

Synopsis

obj = GCONIC/point1,point2,ANCHOR,point3,rho

Description

Creates a general conic by specifying two previously defined points, an anchor point (previously defined), and a RHO value. The first two points are the beginning and ending points respectively.

Parameters

Parameter

Description

point1,point2

Two previously defined points which are on the curve. The points must be specified individually if an array is used.

ANCHOR

Minor word that indicates that a known anchor point is to be specified.

point3

A previously defined point which is called the anchor point. Imaginary lines from this point to the first and third points forms angles which represent the tangents of the conic at the beginning and end respectively.

rho

The projecting discriminator which is a number greater than zero and less than one. This value represents a percentage of the normal distance from the anchor point to an imaginary line between points one and two. The resulting conic is tangent to a theoretical line at this point which is parallel to the line between points one and two.

Example

Creating a general conic by specifying two points, an anchor point, and a RHO value.

Declaration

ENTITY/P(3),GC1

Geometry Definition

P(1)=POINT/-1.5,-.5
P(2)=POINT/0,0
P(3)=POINT/1,-.5

Conic Definition

GC1 = GCONIC/P(1),P(2),ANCHOR,P(3),.75

General Conic Using Two Points, an Anchor and a Number

 


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