Creating a Feature from points cloud of other features

From ArcoWiki
Jump to: navigation, search

During the program execution it is necessary, sometime, create a BF feature using the points cloud of previously measured feature.
A typical example is a construction of a cylinder using points coming from 3 sections measured as individual circles.
This statement is manually written without user interface.

$$Begin Example
$$Measuring 3 Circles

F(C1)=FEAT/CIRCLE,INNER,CART,0.0000,0.0000,0.0000,0.00000000,0.00000000,1.00000000,20.0000
MEAS/CIRCLE,F(C1),3
PTMEAS/CART,6.0000,0.0000,0.0000,-1.00000000,0.00000000,0.00000000
PTMEAS/CART,-3.0000,5.1962,0.0000,0.50000000,-0.86602540,0.00000000
PTMEAS/CART,-3.0000,-5.1962,0.0000,0.50000000,0.86602540,0.00000000
ENDMES
F(C2)=FEAT/CIRCLE,INNER,CART,0.0000,0.0000,0.0000,0.00000000,0.00000000,1.00000000,20.0000
MEAS/CIRCLE,F(C2),3
PTMEAS/CART,6.0000,0.0000,-10.0000,-1.00000000,0.00000000,0.00000000
PTMEAS/CART,-3.0000,5.1962,-10.0000,0.50000000,-0.86602540,0.00000000
PTMEAS/CART,-3.0000,-5.1962,-10.0000,0.50000000,0.86602540,0.00000000
ENDMES
F(C3)=FEAT/CIRCLE,INNER,CART,0.0000,0.0000,0.0000,0.00000000,0.00000000,1.00000000,20.0000
MEAS/CIRCLE,F(C3),3
PTMEAS/CART,6.0000,0.0000,-20.0000,-1.00000000,0.00000000,0.00000000
PTMEAS/CART,-3.0000,5.1962,-20.0000,0.50000000,-0.86602540,0.00000000
PTMEAS/CART,-3.0000,-5.1962,-20.0000,0.50000000,0.86602540,0.00000000
ENDMES

$$Building the BF feature from the 3 circles

F(CY)=FEAT/CYLNDR,INNER,CART,0.0000,0.0000,0.0000,0.00000000,0.00000000,1.00000000,20.0000
CONST/CYLNDR,F(CY),BF,FA(C1)[1,3],FA(C2)[1,3],FA(C3)[1,3]