Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.naic.edu/~phil/aosoft/rotate.html
Дата изменения: Thu Nov 4 00:00:10 2010
Дата индексирования: Tue Oct 2 02:52:02 2012
Кодировка:

Поисковые слова: meteoroid
Content-type: text/html Manpage of ROTATE

ROTATE

Section: Misc. Reference Manual Pages (1L)
Updated: 13 Dec 1991
Index Return to Main Contents
 

NAME

rotate - filter to rotate data within an ipp (ao)  

SYNOPSIS

rotate [ -b bytesperpnt ] [ -i pntsinipp ] [ -r pntstororate ]  

DESCRIPTION

rotate is a program to rotate data. The input is taken from the standard input (pipe or disc file) while the output is written to standard output. The program reads pntsinipp points (of bytesperpnt bytes each), and rotates these points by pntstororate. The rotated ipp is then output and the next ipp is read. This continues until an EOF is read on the input. Any partial ipps at the end of the data stream are not output.  

OPTIONS

-b bytesperpnt
The number of bytes in each point. The default is 4 bytes.
-i pntsinipp
This is the number of points to rotate as a group. Each point will contain bytesperpnt bytes.
-r pntstorate
This is the number of points to rotate. A positive number rotates to the right while a negative number rotates to the left.
 

EXAMPLES

Suppose you want to rotate ipps with 150 points to the right 10 positions. Assume each point is a double precision number.

rotate -b 8 -i 150 -r 10
 

FILES

~phil/util/filters/rotate.c location of source code
 

BUGS

Any partial ipp at the end of the data stream is not output.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
FILES
BUGS

This document was created by man2html, using the manual pages.
Time: 21:00:10 GMT, November 03, 2010