1 /*******************************************************************************
\r
2 * Copyright (c) 2007 VTT Technical Research Centre of Finland and others.
\r
3 * All rights reserved. This program and the accompanying materials
\r
4 * are made available under the terms of the Eclipse Public License v1.0
\r
5 * which accompanies this distribution, and is available at
\r
6 * http://www.eclipse.org/legal/epl-v10.html
\r
9 * VTT Technical Research Centre of Finland - initial API and implementation
\r
10 *******************************************************************************/
\r
11 package org.simantics.proconf.g3d.occ.geometry;
\r
14 public class IndexedGeometry
\r
16 private float[] coordinates=new float[0];
\r
17 private float[] tcoordinates=new float[0];
\r
18 private float[] normals=new float[0];
\r
19 private int[] indices = new int[0];
\r
20 private float[] colors=new float[0];
\r
22 public IndexedGeometry()
\r
28 public int[] getIndices()
\r
33 public float[] getCoordinates()
\r
38 public float[] getTCoordinates()
\r
40 return tcoordinates;
\r
44 public void setIndices(int[] value)
\r
49 public void setCoordinates(float[] value)
\r
54 public void setTCoordinates(float[] value)
\r
59 public float[] getColors()
\r
64 public void setColors(float[] arg)
\r
70 public float[] getNormals()
\r
75 public void setNormals(float[] arg)
\r