Return to Statement


Center Point, Radius, Two Bounding Planes Example

Creating a cylinder by specifying a previously defined center point, a radius, and two bounding planes. The vector definition has been omitted, therefore the cylinder axis is parallel to the ZC axis. The specified bounding planes intersect through the cylinder causing two possible cylinder halves to exist. The point specification (PT2) is closer to the right half; therefore it is the only one displayed.

$$
$$ Declarations
$$
ENTITY/PT1,PT2,P(6),PL1,PL2,CYL1
$$
$$ Geometry Definition
$$
PT1=POINT/0,0,1
PT2=POINT/1.5,0
P(1)=POINT/-1,1,-1
P(2)=POINT/-1,-1,-1
P(3)=POINT/1,0,1
P(4)=POINT/-1,1,1
P(5)=POINT/-1,-1,1
P(6)=POINT/1,0,-1
PL1=PLANE/P(1..3)
PL2=PLANE/P(4..6)
$$
$$ Cylinder Definition
$$
CYL1=CYLNDR/PT1,RADIUS,1,PL1,PL2,PT2

Cylinder Bounded by Two Planes