org.bimserver.models.ifc4.impl.IfcOffsetCurve3DImpl 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.IfcCurve;
import org.bimserver.models.ifc4.IfcDirection;
import org.bimserver.models.ifc4.IfcOffsetCurve3D;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Offset Curve3 D'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc4.impl.IfcOffsetCurve3DImpl#getBasisCurve Basis Curve}
* - {@link org.bimserver.models.ifc4.impl.IfcOffsetCurve3DImpl#getDistance Distance}
* - {@link org.bimserver.models.ifc4.impl.IfcOffsetCurve3DImpl#getDistanceAsString Distance As String}
* - {@link org.bimserver.models.ifc4.impl.IfcOffsetCurve3DImpl#isSelfIntersect Self Intersect}
* - {@link org.bimserver.models.ifc4.impl.IfcOffsetCurve3DImpl#getRefDirection Ref Direction}
*
*
* @generated
*/
public class IfcOffsetCurve3DImpl extends IfcCurveImpl implements IfcOffsetCurve3D {
/**
*
*
* @generated
*/
protected IfcOffsetCurve3DImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc4Package.Literals.IFC_OFFSET_CURVE3_D;
}
/**
*
*
* @generated
*/
public IfcCurve getBasisCurve() {
return (IfcCurve) eGet(Ifc4Package.Literals.IFC_OFFSET_CURVE3_D__BASIS_CURVE, true);
}
/**
*
*
* @generated
*/
public void setBasisCurve(IfcCurve newBasisCurve) {
eSet(Ifc4Package.Literals.IFC_OFFSET_CURVE3_D__BASIS_CURVE, newBasisCurve);
}
/**
*
*
* @generated
*/
public double getDistance() {
return (Double) eGet(Ifc4Package.Literals.IFC_OFFSET_CURVE3_D__DISTANCE, true);
}
/**
*
*
* @generated
*/
public void setDistance(double newDistance) {
eSet(Ifc4Package.Literals.IFC_OFFSET_CURVE3_D__DISTANCE, newDistance);
}
/**
*
*
* @generated
*/
public String getDistanceAsString() {
return (String) eGet(Ifc4Package.Literals.IFC_OFFSET_CURVE3_D__DISTANCE_AS_STRING, true);
}
/**
*
*
* @generated
*/
public void setDistanceAsString(String newDistanceAsString) {
eSet(Ifc4Package.Literals.IFC_OFFSET_CURVE3_D__DISTANCE_AS_STRING, newDistanceAsString);
}
/**
*
*
* @generated
*/
public boolean isSelfIntersect() {
return (Boolean) eGet(Ifc4Package.Literals.IFC_OFFSET_CURVE3_D__SELF_INTERSECT, true);
}
/**
*
*
* @generated
*/
public void setSelfIntersect(boolean newSelfIntersect) {
eSet(Ifc4Package.Literals.IFC_OFFSET_CURVE3_D__SELF_INTERSECT, newSelfIntersect);
}
/**
*
*
* @generated
*/
public IfcDirection getRefDirection() {
return (IfcDirection) eGet(Ifc4Package.Literals.IFC_OFFSET_CURVE3_D__REF_DIRECTION, true);
}
/**
*
*
* @generated
*/
public void setRefDirection(IfcDirection newRefDirection) {
eSet(Ifc4Package.Literals.IFC_OFFSET_CURVE3_D__REF_DIRECTION, newRefDirection);
}
} //IfcOffsetCurve3DImpl