
org.bimserver.models.ifc2x3tc1.impl.IfcTrimmedCurveImpl 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
The newest version!
/**
* 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.ifc2x3tc1.impl;
import org.bimserver.models.ifc2x3tc1.Ifc2x3tc1Package;
import org.bimserver.models.ifc2x3tc1.IfcCurve;
import org.bimserver.models.ifc2x3tc1.IfcTrimmedCurve;
import org.bimserver.models.ifc2x3tc1.IfcTrimmingPreference;
import org.bimserver.models.ifc2x3tc1.IfcTrimmingSelect;
import org.bimserver.models.ifc2x3tc1.Tristate;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Trimmed Curve'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcTrimmedCurveImpl#getBasisCurve Basis Curve}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcTrimmedCurveImpl#getTrim1 Trim1}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcTrimmedCurveImpl#getTrim2 Trim2}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcTrimmedCurveImpl#getSenseAgreement Sense Agreement}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcTrimmedCurveImpl#getMasterRepresentation Master Representation}
*
*
* @generated
*/
public class IfcTrimmedCurveImpl extends IfcBoundedCurveImpl implements IfcTrimmedCurve {
/**
*
*
* @generated
*/
protected IfcTrimmedCurveImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc2x3tc1Package.Literals.IFC_TRIMMED_CURVE;
}
/**
*
*
* @generated
*/
public IfcCurve getBasisCurve() {
return (IfcCurve) eGet(Ifc2x3tc1Package.Literals.IFC_TRIMMED_CURVE__BASIS_CURVE, true);
}
/**
*
*
* @generated
*/
public void setBasisCurve(IfcCurve newBasisCurve) {
eSet(Ifc2x3tc1Package.Literals.IFC_TRIMMED_CURVE__BASIS_CURVE, newBasisCurve);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getTrim1() {
return (EList) eGet(Ifc2x3tc1Package.Literals.IFC_TRIMMED_CURVE__TRIM1, true);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getTrim2() {
return (EList) eGet(Ifc2x3tc1Package.Literals.IFC_TRIMMED_CURVE__TRIM2, true);
}
/**
*
*
* @generated
*/
public Tristate getSenseAgreement() {
return (Tristate) eGet(Ifc2x3tc1Package.Literals.IFC_TRIMMED_CURVE__SENSE_AGREEMENT, true);
}
/**
*
*
* @generated
*/
public void setSenseAgreement(Tristate newSenseAgreement) {
eSet(Ifc2x3tc1Package.Literals.IFC_TRIMMED_CURVE__SENSE_AGREEMENT, newSenseAgreement);
}
/**
*
*
* @generated
*/
public IfcTrimmingPreference getMasterRepresentation() {
return (IfcTrimmingPreference) eGet(Ifc2x3tc1Package.Literals.IFC_TRIMMED_CURVE__MASTER_REPRESENTATION, true);
}
/**
*
*
* @generated
*/
public void setMasterRepresentation(IfcTrimmingPreference newMasterRepresentation) {
eSet(Ifc2x3tc1Package.Literals.IFC_TRIMMED_CURVE__MASTER_REPRESENTATION, newMasterRepresentation);
}
} //IfcTrimmedCurveImpl
© 2015 - 2025 Weber Informatics LLC | Privacy Policy