Return to Statement


Linear Centerline Example

Creating two linear centerlines using collinear points and circles.

   $$
$$ Declarations
$$
ENTITY/P(4),CR(9),CTRLN(4)
$$
$$ Geometry Definitions
$$
P(1)=POINT/-1.5,1.25
P(2)=POINT/-.5,1.25
P(3)=POINT/.5,1.25
P(4)=POINT/1.5,1.25
CR(1)=CIRCLE/-1.5,.5,.125
CR(2)=CIRCLE/-.5,.5,.125
CR(3)=CIRCLE/.5,.5,.125
CR(4)=CIRCLE/1.5,.5,.125
$$
$$ Centerline Definition
$$
CTRLN(1)=CLINE/LINEAR,P(1),P(2),P(3),P(4)
CTRLN(2)=CLINE/LINEAR,CR(1),CR(2),CR(3),CR(4)
$$
$$ Program continues
$$
.
.
.


Example of CLINE Statement Used for Linear Centerline