OFF Code Fragments

Several code fragments for the OFF format are available:

readme.txt

README.TXT is an ASCII copyright document.

addprop.c

ADDPROP.C is C-language code that adds a property structure to an OFF property list.

createob.c

CREATEOB.C is C-language code that allocates and initializes an OFF object description structure.

destroyo.c

DESTROYO.C is C-language code that destroys the specified object and deallocates all memory resources associated with that object.

freeprop.c

FREEPROP.C frees a property structure and its associated memory resources.

makefile

The Makefile.

off.h

OFF.H is a C-language C header file.

offconv.c

OFFCONV.C is C-language code that converts OFF (Object File Format) files from ASCII to binary and vice versa.

packobj.c

PACKOBJ.C is C-language code that packs an OFF object in memory.

readgene.c

READGENE.C is C-language code that reads a generic data file.

readinde.c

READINDE.C is C-language code that reads an indexed data file.

readindp.c

READINDP.C is C-language code that reads an indexed_poly data file.

readobj.c

READOBJ.C is C-language code that reads an OFF object data file.

removepr.c

REMOVEPR.C is C-language code that removes the named property from a property list.

writegen.c

WRITEGEN.C is C-language code that writes a generic data file.

writein2.c

WRITEIN2.C is C-language code that writes an indexed data file.

writeind.c

WRITEIND.C is C-language code that writes an indexed_poly data file.

writeobj.c

WRITEOBJ.C is C-language code that writes an OFF object data file.


Copyright © 1996 O'Reilly & Associates, Inc. All Rights Reserved.