+++ /dev/null
-/*******************************************************************************\r
- * Copyright (c) 2007- VTT Technical Research Centre of Finland.\r
- * All rights reserved. This program and the accompanying materials\r
- * are made available under the terms of the Eclipse Public License v1.0\r
- * which accompanies this distribution, and is available at\r
- * http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Contributors:\r
- * VTT Technical Research Centre of Finland - initial API and implementation\r
- *******************************************************************************/\r
-package org.simantics.proconf.g3d.occ.geometry;\r
-\r
-\r
-public class IndexedGeometry \r
-{\r
- private float[] coordinates=new float[0];\r
- private float[] tcoordinates=new float[0];\r
- private float[] normals=new float[0];\r
- private int[] indices = new int[0];\r
- private float[] colors=new float[0];\r
- \r
- public IndexedGeometry()\r
- { \r
- }\r
- \r
- \r
- \r
- public int[] getIndices()\r
- {\r
- return indices;\r
- }\r
- \r
- public float[] getCoordinates()\r
- {\r
- return coordinates;\r
- }\r
- \r
- public float[] getTCoordinates()\r
- {\r
- return tcoordinates;\r
- }\r
- \r
- \r
- public void setIndices(int[] value)\r
- {\r
- indices=value;\r
- }\r
- \r
- public void setCoordinates(float[] value)\r
- {\r
- coordinates=value;\r
- }\r
- \r
- public void setTCoordinates(float[] value)\r
- {\r
- tcoordinates=value;\r
- }\r
- \r
- public float[] getColors()\r
- {\r
- return colors;\r
- }\r
- \r
- public void setColors(float[] arg)\r
- {\r
- colors=arg;\r
- }\r
- \r
-\r
- public float[] getNormals()\r
- {\r
- return normals;\r
- }\r
- \r
- public void setNormals(float[] arg)\r
- {\r
- normals=arg;\r
- }\r
-\r
-\r
-}\r