Difference between revisions of "Calculating a Feature With Different Algorithm"

From ArcoWiki
Jump to: navigation, search
(Created page with "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.<br/> This f...")
 
 
(One intermediate revision by one other user not shown)
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,MAN
F(CIR_61)=FEAT/CIRCLE,INNER,CART,0,0,0,0,0,1,250
MEAS/CIRCLE,F(CIR_61),100
ENDMES

$$FILTERING

F(CIR_62)=FEAT/CIRCLE,INNER,CART,0,0,0,0,0,1,250
GEOALG/CIRCLE,LSTSQR,FILTER,CIRCULAR,LOWPASS,6.0,GAUSS
CONST/CIRCLE,F(CIR_62),TR,FA(CIR_61)

$$getting point number for the feature

DECL/INTGR,pointNum
$$use this
pointNum=ASSIGN/PTDATA(FA(CIR_2111))
$$or this
pointNum=VALUE/FA(CIR_2111),PTDATA

$$refitting using MINCIR

GEOALG/CIRCLE,MINCIR
F(CIR_2F_MIN)=FEAT/CIRCLE,INNER,CART,0.0,0.0,16.0,0,0,1,32.0
CONST/CIRCLE,F(CIR_2F_MIN),BF,FA(CIR_2111)[1],FA(CIR_2111)[2,pointNum]

$$refitting using LEASTSQUARE

GEOALG/CIRCLE,LSTSQR
F(CIR_2F_least)=FEAT/CIRCLE,INNER,CART,0.0,0.0,16.0,0,0,1,32.0
CONST/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,1
CONST/PLANE,F(PLA_1),BF,FA(CIR_2111)[1],FA(CIR_2111)[2,pointNum]