


brede_read_off - Read an OFF file
function S = brede_read_off(filename);
function [F, V] = brede_read_off(filename);
Input: filename Name of OFF file
Output: S 'Sur' structure
F Faces
V Vertices
This function will read an ASCII OFF file (a text file that
contains faces and vertex information).
The faces is indexed from one as in matlab (not as in the
original OFF file).
The OFF file is a GeomView file format. Not all variations of
this format is supported.
Ref: http://www.geomview.org/docs/html/geomview_41.html
http://hendrix.imm.dtu.dk/oogl/ooglhome.html
Example:
S = brede_read_off('shell.off')
figure, brede_ta3_sur(S)
See also BREDE, BREDE_SUR, BREDE_WRITE_NUAGES,
BREDE_TA3_PATCH.
$Id: brede_read_off.m,v 1.3 2004/12/05 16:57:54 fnielsen Exp $