Difference between revisions of "Calculating a Feature With Different Algorithm"
From ArcoWiki
m (1 revision imported) |
|||
| Line 34: | Line 34: | ||
::<code>F(PLA_1)=FEAT/PLANE,CART,0.0,0.0,16.0,0,0,1</code> | ::<code>F(PLA_1)=FEAT/PLANE,CART,0.0,0.0,16.0,0,0,1</code> | ||
::<code>CONST/PLANE,F(PLA_1),BF,FA(CIR_2111)[1],FA(CIR_2111)[2,pointNum]</code> | ::<code>CONST/PLANE,F(PLA_1),BF,FA(CIR_2111)[1],FA(CIR_2111)[2,pointNum]</code> | ||
| + | |||
| + | [[it:Calcolo di una caratteristica con algoritmo diverso]] | ||
| + | [[zh-cn:用不同算法计算特征]] | ||
| + | [[pt:Calculando um Recurso com Algoritmo Diferente]] | ||
| + | [[de:Berechnen eines Features mit anderem Algorithmus]] | ||
| + | [[es:Cálculo de una característica con algoritmo diferente]] | ||
| + | [[en:Calculating a Feature With Different Algorithm]] | ||
[[Category:Dmis_Tutorial]] | [[Category:Dmis_Tutorial]] | ||
Latest revision as of 10:22, 1 June 2018
To calculate a feature with different algorithm it is not necessary to re-measure the feature itself, but it is possible to re-fit using the existing points.
This functionality is typically used to build a feature from an existing point cloud or recalculate an element using a different fitting algorithm.
This statement is manually written without user interface.
$$Begin Example
MODE/PROG,MANF(CIR_61)=FEAT/CIRCLE,INNER,CART,0,0,0,0,0,1,250MEAS/CIRCLE,F(CIR_61),100ENDMES
$$FILTERING
F(CIR_62)=FEAT/CIRCLE,INNER,CART,0,0,0,0,0,1,250GEOALG/CIRCLE,LSTSQR,FILTER,CIRCULAR,LOWPASS,6.0,GAUSSCONST/CIRCLE,F(CIR_62),TR,FA(CIR_61)
$$getting point number for the feature
DECL/INTGR,pointNum$$use thispointNum=ASSIGN/PTDATA(FA(CIR_2111))
$$or thispointNum=VALUE/FA(CIR_2111),PTDATA
$$refitting using MINCIR
GEOALG/CIRCLE,MINCIRF(CIR_2F_MIN)=FEAT/CIRCLE,INNER,CART,0.0,0.0,16.0,0,0,1,32.0CONST/CIRCLE,F(CIR_2F_MIN),BF,FA(CIR_2111)[1],FA(CIR_2111)[2,pointNum]
$$refitting using LEASTSQUARE
GEOALG/CIRCLE,LSTSQRF(CIR_2F_least)=FEAT/CIRCLE,INNER,CART,0.0,0.0,16.0,0,0,1,32.0CONST/CIRCLE,F(CIR_2F_least),BF,FA(CIR_2111)[1],FA(CIR_2111)[2,pointNum]
$$fitting plane using points from Circle
F(PLA_1)=FEAT/PLANE,CART,0.0,0.0,16.0,0,0,1CONST/PLANE,F(PLA_1),BF,FA(CIR_2111)[1],FA(CIR_2111)[2,pointNum]