
org.bimserver.models.ifc4.impl.IfcBSplineSurfaceImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of PluginBase Show documentation
Show all versions of PluginBase Show documentation
Base project for BIMserver plugin development. Some plugins mights also need the Shared library
/**
* 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.IfcBSplineSurface;
import org.bimserver.models.ifc4.IfcBSplineSurfaceForm;
import org.bimserver.models.ifc4.ListOfIfcCartesianPoint;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc BSpline Surface'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc4.impl.IfcBSplineSurfaceImpl#getUDegree UDegree}
* - {@link org.bimserver.models.ifc4.impl.IfcBSplineSurfaceImpl#getVDegree VDegree}
* - {@link org.bimserver.models.ifc4.impl.IfcBSplineSurfaceImpl#getControlPointsList Control Points List}
* - {@link org.bimserver.models.ifc4.impl.IfcBSplineSurfaceImpl#getSurfaceForm Surface Form}
* - {@link org.bimserver.models.ifc4.impl.IfcBSplineSurfaceImpl#isUClosed UClosed}
* - {@link org.bimserver.models.ifc4.impl.IfcBSplineSurfaceImpl#isVClosed VClosed}
* - {@link org.bimserver.models.ifc4.impl.IfcBSplineSurfaceImpl#isSelfIntersect Self Intersect}
*
*
* @generated
*/
public class IfcBSplineSurfaceImpl extends IfcBoundedSurfaceImpl implements IfcBSplineSurface {
/**
*
*
* @generated
*/
protected IfcBSplineSurfaceImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc4Package.Literals.IFC_BSPLINE_SURFACE;
}
/**
*
*
* @generated
*/
public int getUDegree() {
return (Integer) eGet(Ifc4Package.Literals.IFC_BSPLINE_SURFACE__UDEGREE, true);
}
/**
*
*
* @generated
*/
public void setUDegree(int newUDegree) {
eSet(Ifc4Package.Literals.IFC_BSPLINE_SURFACE__UDEGREE, newUDegree);
}
/**
*
*
* @generated
*/
public int getVDegree() {
return (Integer) eGet(Ifc4Package.Literals.IFC_BSPLINE_SURFACE__VDEGREE, true);
}
/**
*
*
* @generated
*/
public void setVDegree(int newVDegree) {
eSet(Ifc4Package.Literals.IFC_BSPLINE_SURFACE__VDEGREE, newVDegree);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getControlPointsList() {
return (EList) eGet(Ifc4Package.Literals.IFC_BSPLINE_SURFACE__CONTROL_POINTS_LIST,
true);
}
/**
*
*
* @generated
*/
public IfcBSplineSurfaceForm getSurfaceForm() {
return (IfcBSplineSurfaceForm) eGet(Ifc4Package.Literals.IFC_BSPLINE_SURFACE__SURFACE_FORM, true);
}
/**
*
*
* @generated
*/
public void setSurfaceForm(IfcBSplineSurfaceForm newSurfaceForm) {
eSet(Ifc4Package.Literals.IFC_BSPLINE_SURFACE__SURFACE_FORM, newSurfaceForm);
}
/**
*
*
* @generated
*/
public boolean isUClosed() {
return (Boolean) eGet(Ifc4Package.Literals.IFC_BSPLINE_SURFACE__UCLOSED, true);
}
/**
*
*
* @generated
*/
public void setUClosed(boolean newUClosed) {
eSet(Ifc4Package.Literals.IFC_BSPLINE_SURFACE__UCLOSED, newUClosed);
}
/**
*
*
* @generated
*/
public boolean isVClosed() {
return (Boolean) eGet(Ifc4Package.Literals.IFC_BSPLINE_SURFACE__VCLOSED, true);
}
/**
*
*
* @generated
*/
public void setVClosed(boolean newVClosed) {
eSet(Ifc4Package.Literals.IFC_BSPLINE_SURFACE__VCLOSED, newVClosed);
}
/**
*
*
* @generated
*/
public boolean isSelfIntersect() {
return (Boolean) eGet(Ifc4Package.Literals.IFC_BSPLINE_SURFACE__SELF_INTERSECT, true);
}
/**
*
*
* @generated
*/
public void setSelfIntersect(boolean newSelfIntersect) {
eSet(Ifc4Package.Literals.IFC_BSPLINE_SURFACE__SELF_INTERSECT, newSelfIntersect);
}
} //IfcBSplineSurfaceImpl
© 2015 - 2025 Weber Informatics LLC | Privacy Policy