FreeWRL/FreeX3D
3.0.0
Main Page
Related Pages
Data Structures
Files
File List
VSFTime.java
1
// copyright (c) 1997,1998 stephen f. white
2
//
3
// This program is free software; you can redistribute it and/or modify
4
// it under the terms of the GNU General Public License as published by
5
// the Free Software Foundation; either version 2, or (at your option)
6
// any later version.
7
//
8
// This program is distributed in the hope that it will be useful,
9
// but WITHOUT ANY WARRANTY; without even the implied warranty of
10
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
// GNU General Public License for more details.
12
//
13
// You should have received a copy of the GNU General Public License
14
// along with this program; see the file COPYING. If not, write to
15
// the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
16
17
package
vrml.external.FreeWRLEAI;
18
19
import
java.io.*;
20
21
public
class
VSFTime
extends
VField
22
{
23
double
time;
24
25
public
VSFTime
(
double
time)
26
{
27
this.time = time;
28
}
29
30
public
VSFTime
(DataInputStream in)
throws
IOException
31
{
32
time = in.readDouble();
33
}
34
35
public
void
write(DataOutputStream out)
throws
IOException
36
{
37
out.writeDouble(time);
38
}
39
40
public
byte getType() {
return
SFTIME; }
41
42
public
double
getValue() {
return
time; }
43
}
vrml.external.FreeWRLEAI.VSFTime
Definition:
VSFTime.java:21
vrml.external.FreeWRLEAI.VField
Definition:
VField.java:24
src
java
vrml
external
FreeWRLEAI
VSFTime.java
Generated on Thu Dec 14 2017 12:14:40 for FreeWRL/FreeX3D by
1.8.6