private void createSamples ( double sampleRadius , Point2D_F64 workPoint , Point2D_F64 originalPoint ) { workPoint . x = originalPoint . x + sampleRadius ; if ( estimator . process ( work , false ) ) { samples . grow ( ) . set ( estimator . getWorldToCamera ( ) ) ; } workPoint . x = originalPoint . x - sampleRadius ; if ( estimator . process ( work , false ) ) { samples . grow ( ) . set ( estimator . getWorldToCamera ( ) ) ; } workPoint . x = originalPoint . x ; workPoint . y = originalPoint . y + sampleRadius ; if ( estimator . process ( work , false ) ) { samples . grow ( ) . set ( estimator . getWorldToCamera ( ) ) ; } workPoint . y = originalPoint . y - sampleRadius ; if ( estimator . process ( work , false ) ) { samples . grow ( ) . set ( estimator . getWorldToCamera ( ) ) ; } workPoint . set ( originalPoint ) ; }
Samples around the provided corner + - in x and y directions