BEZIER_SURFACE
Routines for Bezier Surface Information
BEZIER_SURFACE
is a FORTRAN90 library which
reads, writes, prints, and
otherwise manipulates the data that defines a Bezier surface.
Licensing:
The computer code and data files described and made available on this web page
are distributed under
the GNU LGPL license.
Languages:
BEZIER_SURFACE is available in
a FORTRAN90 version and
a MATLAB version.
Related Data and Programs:
BEZIER_SURFACE,
a data directory which
contains a description and
examples of the Bezier Surface file format.
BEZIER_SURFACE_DISPLAY,
a MATLAB program which
reads a pair of Bezier Surface data files and display the surface.
TABLE,
a data format which
is used for both the node and rectangle files.
Reference:
-
Edward Angel,
Interactive Computer Graphics,
a Top-Down Approach with OpenGL,
Addison-Wesley, 2000,
ISBN: 0-201-38597-X,
LC: T385.A514.
-
The Wikipedia article "Utah teapot" in
http://en.wikipedia.org/wiki/Utah_teapot
Source Code:
Examples and Tests:
List of Routines:
-
BEZIER_PATCH_EVALUATE evaluates a Bezier patch.
-
BEZIER_SURFACE_NEIGHBORS determines Bezier rectangle neighbors.
-
BEZIER_SURFACE_NODE_PRINT prints nodes.
-
BEZIER_SURFACE_NODE_READ reads nodes from a node file.
-
BEZIER_SURFACE_NODE_SIZE counts nodes in a node file.
-
BEZIER_SURFACE_NODE_WRITE writes nodes to a node file.
-
BEZIER_SURFACE_RECTANGLE_PRINT prints rectangles.
-
BEZIER_SURFACE_RECTANGLE_READ reads rectangles from a rectangle file.
-
BEZIER_SURFACE_RECTANGLE_SIZE counts rectangles in a rectangle file.
-
BEZIER_SURFACE_RECTANGLE_WRITE writes rectangle to a rectangle file.
-
CH_CAP capitalizes a single character.
-
CH_EQI is a case insensitive comparison of two characters for equality.
-
CH_TO_DIGIT returns the integer value of a base 10 digit.
-
FILE_COLUMN_COUNT counts the number of columns in the first line of a file.
-
FILE_ROW_COUNT counts the number of row records in a file.
-
GET_UNIT returns a free FORTRAN unit number.
-
I4MAT_DATA_READ reads data from an I4MAT file.
-
I4MAT_HEADER_READ reads the header from an I4MAT.
-
I4MAT_PRINT prints an I4MAT.
-
I4MAT_PRINT_SOME prints some of an I4MAT.
-
I4MAT_TRANSPOSE_PRINT prints an I4MAT, transposed.
-
I4MAT_TRANSPOSE_PRINT_SOME prints some of the transpose of an I4MAT.
-
I4MAT_WRITE writes an I4MAT file.
-
I4ROW_COMPARE compares two rows of an I4ROW.
-
I4ROW_SORT_A ascending sorts the rows of an I4ROW.
-
I4ROW_SWAP swaps two rows of an I4ROW.
-
R8MAT_DATA_READ reads data from an R8MAT file.
-
R8MAT_HEADER_READ reads the header from an R8MAT file.
-
R8MAT_PRINT prints an R8MAT.
-
R8MAT_PRINT_SOME prints some of an R8MAT.
-
R8MAT_TRANSPOSE_PRINT prints an R8MAT, transposed.
-
R8MAT_TRANSPOSE_PRINT_SOME prints some of an R8MAT, transposed.
-
R8MAT_WRITE writes an R8MAT file.
-
S_BLANK_DELETE removes blanks from a string, left justifying the remainder.
-
S_TO_I4 reads an I4 from a string.
-
S_TO_I4VEC reads an I4VEC from a string.
-
S_TO_R8 reads an R8 from a string.
-
S_TO_R8VEC reads an R8VEC from a string.
-
S_WORD_COUNT counts the number of "words" in a string.
-
SORT_HEAP_EXTERNAL externally sorts a list of items into ascending order.
-
TIMESTAMP prints the current YMDHMS date as a time stamp.
You can go up one level to
the FORTRAN90 source codes.
Last revised 27 December 2010.