Package com.luciad.shape.shape2D
Class TLcdXYZonalPoint
java.lang.Object
com.luciad.shape.ALcdShape
com.luciad.shape.ALcdPoint
com.luciad.shape.shape2D.ALcd2DEditablePoint
com.luciad.shape.shape2D.TLcdXYPoint
com.luciad.shape.shape2D.TLcdXYZonalPoint
- All Implemented Interfaces:
ILcdBounded
,ILcdBounds
,ILcdPoint
,ILcdPointList
,ILcdPolypoint
,ILcdShape
,ILcdZonalPoint
,ILcd2DEditablePoint
,ILcd2DEditableShape
,ILcd2DEditableZonalPoint
,ILcdCloneable
,Serializable
,Cloneable
This class provides an implementation of
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.
- See Also:
-
Constructor Summary
ConstructorDescriptionTLcdXYZonalPoint
(double aX, double aY, int aZone) TLcdXYZonalPoint
(ILcd2DEditablePoint a2DEditablePoint, int aZone) TLcdXYZonalPoint
(ILcd2DEditableZonalPoint a2DEditableZonalPoint) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns whether the given object has the same class, the same coordinates, and the same zone.final int
getZone()
Returns the zone of thisILcdZonal2DEditablePoint
.int
hashCode()
The hash code of this shape is the hash code of its class, in order to be consistent with theALcdShape.equals(Object)
method.void
setZone
(int aZone) Sets the zone of thisILcdZonal2DEditablePoint
.toString()
Methods inherited from class com.luciad.shape.shape2D.TLcdXYPoint
cloneAs2DEditableBounds, cloneAs2DEditablePoint, cloneAs3DEditableBounds, cloneAs3DEditablePoint, getX, getY, move2D
Methods inherited from class com.luciad.shape.shape2D.ALcd2DEditablePoint
getZ, move2D, translate2D
Methods inherited from class com.luciad.shape.ALcdPoint
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
Methods inherited from class com.luciad.shape.ALcdShape
clone, contains2D, contains3D, fromDomainObject
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.luciad.shape.shape2D.ILcd2DEditableShape
move2D, move2D, translate2D
Methods inherited from interface com.luciad.shape.ILcdBounded
getBounds
Methods inherited from interface com.luciad.shape.ILcdBounds
getCenter
Methods inherited from interface com.luciad.util.ILcdCloneable
clone
Methods inherited from interface com.luciad.shape.ILcdPoint
cloneAs2DEditablePoint, cloneAs3DEditablePoint, getCosX, getCosY, getSinX, getSinY, getTanX, getTanY, getX, getY, getZ
Methods inherited from interface com.luciad.shape.ILcdPointList
getPointSFCT, getX, getY, getZ
Methods inherited from interface com.luciad.shape.ILcdShape
contains2D, contains2D, contains3D, contains3D, getFocusPoint
-
Constructor Details
-
TLcdXYZonalPoint
public TLcdXYZonalPoint() -
TLcdXYZonalPoint
public TLcdXYZonalPoint(double aX, double aY, int aZone) -
TLcdXYZonalPoint
-
TLcdXYZonalPoint
-
-
Method Details
-
getZone
public final int getZone()Description copied from interface:ILcdZonalPoint
Returns the zone of thisILcdZonal2DEditablePoint
.- Specified by:
getZone
in interfaceILcdZonalPoint
- Returns:
- the zone of this
ILcdZonal2DEditablePoint
.
-
setZone
public void setZone(int aZone) Description copied from interface:ILcd2DEditableZonalPoint
Sets the zone of thisILcdZonal2DEditablePoint
.- Specified by:
setZone
in interfaceILcd2DEditableZonalPoint
- Parameters:
aZone
- the new zone of this point.
-
equals
Returns whether the given object has the same class, the same coordinates, and the same zone.- Specified by:
equals
in interfaceILcdPoint
- Overrides:
equals
in classALcdPoint
- Parameters:
aObject
- theObject
to compare to.- Returns:
- false if aObject is an ILcdPoint object with different 3D coordinates or the object is not an ILcdPoint. If the objects do have the same 3D coordinates, the return value is defined by the specific implementations of ILcdPoint and may still be false.
-
hashCode
public int hashCode()Description copied from class:ALcdShape
The hash code of this shape is the hash code of its class, in order to be consistent with theALcdShape.equals(Object)
method. Extensions should refine this implementation, based on their properties. -
toString
- Overrides:
toString
in classALcd2DEditablePoint
-