public void connectPointToView ( int pointIndex , int viewIndex ) { SceneStructureMetric . Point p = points [ pointIndex ] ; for ( int i = 0 ; i < p . views . size ; i ++ ) { if ( p . views . data [ i ] == viewIndex ) throw new IllegalArgumentException ( "Tried to add the same view twice. viewIndex=" + viewIndex ) ; } p . views . add ( viewIndex ) ; }
Specifies that the point was observed in this view .