org.bimserver.models.ifc4.impl.IfcTessellatedFaceSetImpl Maven / Gradle / Ivy
/**
* Copyright (C) 2009-2014 BIMserver.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
package org.bimserver.models.ifc4.impl;
import org.bimserver.models.ifc4.Ifc4Package;
import org.bimserver.models.ifc4.IfcCartesianPointList3D;
import org.bimserver.models.ifc4.IfcIndexedColourMap;
import org.bimserver.models.ifc4.IfcIndexedTextureMap;
import org.bimserver.models.ifc4.IfcTessellatedFaceSet;
import org.bimserver.models.ifc4.ListOfIfcParameterValue;
import org.bimserver.models.ifc4.Tristate;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Tessellated Face Set'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc4.impl.IfcTessellatedFaceSetImpl#getCoordinates Coordinates}
* - {@link org.bimserver.models.ifc4.impl.IfcTessellatedFaceSetImpl#getNormals Normals}
* - {@link org.bimserver.models.ifc4.impl.IfcTessellatedFaceSetImpl#getClosed Closed}
* - {@link org.bimserver.models.ifc4.impl.IfcTessellatedFaceSetImpl#getHasColours Has Colours}
* - {@link org.bimserver.models.ifc4.impl.IfcTessellatedFaceSetImpl#getHasTextures Has Textures}
*
*
* @generated
*/
public class IfcTessellatedFaceSetImpl extends IfcTessellatedItemImpl implements IfcTessellatedFaceSet {
/**
*
*
* @generated
*/
protected IfcTessellatedFaceSetImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc4Package.Literals.IFC_TESSELLATED_FACE_SET;
}
/**
*
*
* @generated
*/
public IfcCartesianPointList3D getCoordinates() {
return (IfcCartesianPointList3D) eGet(Ifc4Package.Literals.IFC_TESSELLATED_FACE_SET__COORDINATES, true);
}
/**
*
*
* @generated
*/
public void setCoordinates(IfcCartesianPointList3D newCoordinates) {
eSet(Ifc4Package.Literals.IFC_TESSELLATED_FACE_SET__COORDINATES, newCoordinates);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getNormals() {
return (EList) eGet(Ifc4Package.Literals.IFC_TESSELLATED_FACE_SET__NORMALS, true);
}
/**
*
*
* @generated
*/
public Tristate getClosed() {
return (Tristate) eGet(Ifc4Package.Literals.IFC_TESSELLATED_FACE_SET__CLOSED, true);
}
/**
*
*
* @generated
*/
public void setClosed(Tristate newClosed) {
eSet(Ifc4Package.Literals.IFC_TESSELLATED_FACE_SET__CLOSED, newClosed);
}
/**
*
*
* @generated
*/
public void unsetClosed() {
eUnset(Ifc4Package.Literals.IFC_TESSELLATED_FACE_SET__CLOSED);
}
/**
*
*
* @generated
*/
public boolean isSetClosed() {
return eIsSet(Ifc4Package.Literals.IFC_TESSELLATED_FACE_SET__CLOSED);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getHasColours() {
return (EList) eGet(Ifc4Package.Literals.IFC_TESSELLATED_FACE_SET__HAS_COLOURS, true);
}
/**
*
*
* @generated
*/
public void unsetHasColours() {
eUnset(Ifc4Package.Literals.IFC_TESSELLATED_FACE_SET__HAS_COLOURS);
}
/**
*
*
* @generated
*/
public boolean isSetHasColours() {
return eIsSet(Ifc4Package.Literals.IFC_TESSELLATED_FACE_SET__HAS_COLOURS);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getHasTextures() {
return (EList) eGet(Ifc4Package.Literals.IFC_TESSELLATED_FACE_SET__HAS_TEXTURES, true);
}
/**
*
*
* @generated
*/
public void unsetHasTextures() {
eUnset(Ifc4Package.Literals.IFC_TESSELLATED_FACE_SET__HAS_TEXTURES);
}
/**
*
*
* @generated
*/
public boolean isSetHasTextures() {
return eIsSet(Ifc4Package.Literals.IFC_TESSELLATED_FACE_SET__HAS_TEXTURES);
}
} //IfcTessellatedFaceSetImpl