public class Location3DImpl extends LocationImpl implements Location3D
The following features are implemented:
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
Modifier and Type | Method and Description |
---|---|
Location3D |
copyInstance()
A convenient method to get an instance copy.
|
static Location3D[] |
create(double[] xa,
double[] ya,
double[] za) |
static Location3D |
create(double x,
double y,
double z) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
void |
eUnset(int featureID) |
static double[] |
getXArray(Location3D[] loc) |
static double[] |
getYArray(Location3D[] loc) |
double |
getZ() |
static double[] |
getZArray(Location3D[] loc) |
boolean |
isSetZ() |
void |
linkToVector(Vector vector)
Used to link a Location3D to a Vector for live update of the coordinates.
|
void |
scale(double dScale)
Causes the internal (x,y) values to be scaled by a relative (dScale) value
|
void |
set(double dX,
double dY,
double dZ)
A convenience method for defining member variables
NOTE: Manually created
|
void |
setZ(double newZ) |
java.lang.String |
toString() |
void |
translate(double dTranslateX,
double dTranslateY,
double dTranslateZ)
Causes the internal (x,y,z) values to be translated by a relative value
of (dTranslateX, dTranslateY, dTranslateZ)
|
void |
unsetZ() |
create, create, equals, getX, getXArray, getY, getYArray, hashCode, isSetX, isSetY, set, setX, setY, translate, unsetX, unsetY
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
eNotificationRequired, eNotify
getX, getY, isSetX, isSetY, set, setX, setY, translate, unsetX, unsetY
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
public static Location3D create(double x, double y, double z)
x
- y
- z
- public Location3D copyInstance()
copyInstance
in interface Location
copyInstance
in interface Location3D
copyInstance
in interface IChartObject
copyInstance
in class LocationImpl
public static final Location3D[] create(double[] xa, double[] ya, double[] za)
xa
- ya
- za
- public static double[] getXArray(Location3D[] loc)
loc
- public static double[] getYArray(Location3D[] loc)
loc
- public static double[] getZArray(Location3D[] loc)
loc
- public double getZ()
getZ
in interface Location3D
Location3D.isSetZ()
,
Location3D.unsetZ()
,
Location3D.setZ(double)
,
AttributePackage.getLocation3D_Z()
public void setZ(double newZ)
setZ
in interface Location3D
newZ
- the new value of the 'Z' attribute.Location3D.isSetZ()
,
Location3D.unsetZ()
,
Location3D.getZ()
public void unsetZ()
unsetZ
in interface Location3D
Location3D.isSetZ()
,
Location3D.getZ()
,
Location3D.setZ(double)
public boolean isSetZ()
isSetZ
in interface Location3D
Location3D.unsetZ()
,
Location3D.getZ()
,
Location3D.setZ(double)
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class LocationImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class LocationImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class LocationImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class LocationImpl
public java.lang.String toString()
toString
in class LocationImpl
public void translate(double dTranslateX, double dTranslateY, double dTranslateZ)
Location3D
translate
in interface Location3D
public void scale(double dScale)
Location
scale
in interface Location
scale
in interface Location3D
scale
in class LocationImpl
public void set(double dX, double dY, double dZ)
Location3D
set
in interface Location3D
public void linkToVector(Vector vector)
Location3D
linkToVector
in interface Location3D
Copyright © 2005-2008 Actuate Corp. All rights reserved.