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
ConstructorsConstructorDescriptionTLcdXYZonalPoint(double aX, double aY, int aZone) TLcdXYZonalPoint(ILcd2DEditablePoint a2DEditablePoint, int aZone) TLcdXYZonalPoint(ILcd2DEditableZonalPoint a2DEditableZonalPoint) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the given object has the same class, the same coordinates, and the same zone.final intgetZone()Returns the zone of thisILcdZonal2DEditablePoint.inthashCode()The hash code of this shape is the hash code of its class, in order to be consistent with theALcdShape.equals(Object)method.voidsetZone(int aZone) Sets the zone of thisILcdZonal2DEditablePoint.toString()Methods inherited from class com.luciad.shape.shape2D.TLcdXYPoint
cloneAs2DEditableBounds, cloneAs2DEditablePoint, cloneAs3DEditableBounds, cloneAs3DEditablePoint, getX, getY, move2DMethods inherited from class com.luciad.shape.shape2D.ALcd2DEditablePoint
getZ, move2D, translate2DMethods 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, isDefinedMethods inherited from class com.luciad.shape.ALcdShape
clone, contains2D, contains3D, fromDomainObjectMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.luciad.shape.shape2D.ILcd2DEditableShape
move2D, move2D, translate2DMethods inherited from interface com.luciad.shape.ILcdBounded
getBoundsMethods inherited from interface com.luciad.shape.ILcdBounds
getCenterMethods inherited from interface com.luciad.util.ILcdCloneable
cloneMethods inherited from interface com.luciad.shape.ILcdPoint
cloneAs2DEditablePoint, cloneAs3DEditablePoint, getCosX, getCosY, getSinX, getSinY, getTanX, getTanY, getX, getY, getZMethods inherited from interface com.luciad.shape.ILcdPointList
getPointSFCT, getX, getY, getZMethods 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:ILcdZonalPointReturns the zone of thisILcdZonal2DEditablePoint.- Specified by:
getZonein interfaceILcdZonalPoint- Returns:
- the zone of this
ILcdZonal2DEditablePoint.
-
setZone
public void setZone(int aZone) Description copied from interface:ILcd2DEditableZonalPointSets the zone of thisILcdZonal2DEditablePoint.- Specified by:
setZonein 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:
equalsin interfaceILcdPoint- Overrides:
equalsin classALcdPoint- Parameters:
aObject- theObjectto 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:ALcdShapeThe 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:
toStringin classALcd2DEditablePoint
-