Return to Statement


Through a Point, Perpendicular to a Curve/Surface Example 2

Creating a line from a point perpendicular to a spline. In this case several lines could be created from PT1 and be perpendicular to the spline. PT2 decides which line is created.

$$
$$ Declaration
$$
ENTITY/PT1,PT2,P(7),SPLN1,LN1
$$
$$ Point Definition
$$
PT1 =POINT/0,1
PT2 =POINT/1.25,-1
P(1) =POINT/-1.25,0
P(2) =POINT/-1.5,-.25
P(3) =POINT/-1,-.75
P(4) =POINT/0,0
P(5) =POINT/1,-.75
P(6) =POINT/1.5,0
P(7) =POINT/2,-.25
SPLN1=SPLINE/P
$$
$$ Line Defintion
$$
LN1 =LINE/PT1,PT2,PERPTO,SPLN1

Line through a Point Perpendicular to a Spline