Waves transformation from offshore to nearshore areas