public class TLcdXYZonalPoint extends TLcdXYPoint implementsILcd2DEditableZonalPoint
ILcd2DEditableZonalPoint
in the
cartesian space.
This class is thread-safe for concurrent read-only access of its contents. For read-write access, external locking must be used. Such locking is typically done at the model level.
Constructor and Description |
---|
TLcdXYZonalPoint() |
TLcdXYZonalPoint(double aX,
double aY,
int aZone) |
TLcdXYZonalPoint(ILcd2DEditablePoint a2DEditablePoint,
int aZone) |
TLcdXYZonalPoint(ILcd2DEditableZonalPoint a2DEditableZonalPoint) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object aObject)
Returns whether the given object has the same class, the same coordinates,
and the same zone.
|
int |
getZone()
Returns the zone of this
ILcdZonal2DEditablePoint . |
int |
hashCode()
The hash code of this shape is the hash code of its class, in order to
be consistent with the
ALcdShape.equals(Object) method. |
void |
setZone(int aZone)
Sets the zone of this
ILcdZonal2DEditablePoint . |
String |
toString() |
cloneAs2DEditableBounds, cloneAs2DEditablePoint, cloneAs3DEditableBounds, cloneAs3DEditablePoint, getX, getY, move2D
getZ, move2D, translate2D
contains2D, contains2D, contains2D, contains3D, contains3D, contains3D, getBounds, getCosX, getCosY, getDepth, getFocusPoint, getHeight, getLocation, getMaxX, getMaxY, getMaxZ, getMinX, getMinY, getMinZ, getPoint, getPointCount, getSinX, getSinY, getTanX, getTanY, getWidth, interacts2D, interacts2D, interacts3D, interacts3D, isDefined
clone, contains2D, contains3D, fromDomainObject
finalize, getClass, notify, notifyAll, wait, wait, wait
cloneAs2DEditablePoint, cloneAs3DEditablePoint, getCosX, getCosY, getSinX, getSinY, getTanX, getTanY, getX, getY, getZ
move2D, move2D, translate2D
contains2D, contains2D, contains3D, contains3D, getFocusPoint
getBounds
clone
getPointSFCT, getX, getY, getZ
getCenter
public TLcdXYZonalPoint()
public TLcdXYZonalPoint(double aX, double aY, int aZone)
public TLcdXYZonalPoint(ILcd2DEditablePoint a2DEditablePoint, int aZone)
public TLcdXYZonalPoint(ILcd2DEditableZonalPoint a2DEditableZonalPoint)
public final int getZone()
ILcdZonalPoint
ILcdZonal2DEditablePoint
.getZone
in interface ILcdZonalPoint
ILcdZonal2DEditablePoint
.public void setZone(int aZone)
ILcd2DEditableZonalPoint
ILcdZonal2DEditablePoint
.setZone
in interface ILcd2DEditableZonalPoint
aZone
- the new zone of this point.public boolean equals(Object aObject)
equals
in interface ILcdPoint
equals
in class ALcdPoint
aObject
- the Object
to compare to.public int hashCode()
ALcdShape
ALcdShape.equals(Object)
method.
Extensions should refine this implementation, based on their properties.public String toString()
toString
in class ALcd2DEditablePoint