Home > functions > device > vivid > vb_read_vrml_coordinate3.m

vb_read_vrml_coordinate3

PURPOSE ^

Read Coordinate frpm XML-file

SYNOPSIS ^

function X = vb_read_vrml_coordinate3(fname)

DESCRIPTION ^

 Read Coordinate frpm XML-file
 
 Coordinate3 {
    point [ 
        9.06 87.16 -851.32,
        10.02 87.13 -851.20,
            ...
    ]
    point [ 9.06 87.16 -851.32,
        10.02 87.13 -851.20,
            ...
       76.95 -72.55 23.16 ]

 Copyright (C) 2011, ATR All Rights Reserved.
 License : New BSD License(see VBMEG_LICENSE.txt)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function    X = vb_read_vrml_coordinate3(fname)
0002 % Read Coordinate frpm XML-file
0003 %
0004 % Coordinate3 {
0005 %    point [
0006 %        9.06 87.16 -851.32,
0007 %        10.02 87.13 -851.20,
0008 %            ...
0009 %    ]
0010 %    point [ 9.06 87.16 -851.32,
0011 %        10.02 87.13 -851.20,
0012 %            ...
0013 %       76.95 -72.55 23.16 ]
0014 %
0015 % Copyright (C) 2011, ATR All Rights Reserved.
0016 % License : New BSD License(see VBMEG_LICENSE.txt)
0017 
0018 key.start  = 'Coordinate3';
0019 key.start2 = 'point';
0020 key.end    = ']';
0021 key.braket = '[';
0022 
0023 [Nskip, Nline, Mmax] = vb_read_vrml_line(fname,key);
0024 X = vb_read_vrml_coordinate(fname, Nskip, Nline, Mmax, key.braket);

Generated on Tue 27-Aug-2013 11:46:04 by m2html © 2005