+/*******************************************************************************\r
+ * Copyright (c) 2012, 2013 Association for Decentralized Information Management in\r
+ * Industry THTH ry.\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.g3d.csg.scenegraph2;\r
\r
import org.jcae.opencascade.jni.TopoDS_Shape;\r
@RelatedSetValue(CSG.URIs.HasXAxisSize)\r
@SetPropertyValue(CSG.URIs.HasXAxisSize)\r
public void setSX(double d) {\r
+ if (this.sx == d)\r
+ return;\r
this.sx = d;\r
firePropertyChanged(CSG.URIs.HasXAxisSize);\r
}\r
@RelatedSetValue(CSG.URIs.HasYAxisSize)\r
@SetPropertyValue(CSG.URIs.HasYAxisSize)\r
public void setSY(double d) {\r
+ if (this.sy == d)\r
+ return;\r
this.sy = d;\r
firePropertyChanged(CSG.URIs.HasYAxisSize);\r
}\r
@RelatedSetValue(CSG.URIs.HasZAxisSize)\r
@SetPropertyValue(CSG.URIs.HasZAxisSize)\r
public void setSZ(double d) {\r
+ if (this.sz == d)\r
+ return;\r
this.sz = d;\r
firePropertyChanged(CSG.URIs.HasZAxisSize);\r
}\r