Package com.luciad.format.mif
Class TLcdMIFPoint
java.lang.Object
com.luciad.shape.shape2D.TLcd2DEditableFeaturedPoint
com.luciad.format.mif.TLcdMIFPoint
- All Implemented Interfaces:
ILcdDataObject
,ILcdMIFShape
,ILcdBounded
,ILcdPoint
,ILcdShape
,ILcd2DEditablePoint
,ILcd2DEditableShape
,ILcdCloneable
,ILcdFeatured
,Serializable
,Cloneable
This
ILcdMIFShape
represents a MIF point.
Its type is POINT
.- See Also:
-
Field Summary
Fields inherited from interface com.luciad.format.mif.ILcdMIFShape
ARC, COLLECTION, ELLIPSE, LINE, MULTIPOINT, NONE, PLINE, POINT, RECT, REGION, ROUNDRECT, TEXT
-
Constructor Summary
ConstructorDescriptionTLcdMIFPoint
(TLcdMIFPoint aMIFPoint) Creates a new TLcdMIFPoint that is a shallow copy of the given point.TLcdMIFPoint
(ILcd2DEditablePoint aPoint) Creates a new TLcdMIFPoint at the given location, with the default MapInfo 3.0 symbol.TLcdMIFPoint
(ILcd2DEditablePoint aPoint, ILcdMIFSymbol aSymbol) Creates a new TLcdMIFPoint at the given location and with the given symbol. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks whether thisTLcdMIFPoint
is equal to the givenObject
.short
Returns the MIF type of this shape.getPoint()
Returns the position of this point.Returns the symbol.int
hashCode()
void
setSymbol
(ILcdMIFSymbol aSymbol) Sets the symbol.Methods inherited from class com.luciad.shape.shape2D.TLcd2DEditableFeaturedPoint
canSetFeature, clone, cloneAs2DEditablePoint, cloneAs3DEditablePoint, contains2D, contains2D, contains3D, contains3D, get2DEditablePoint, getBounds, getCosX, getCosY, getDataType, getDefaultDisplayNameIndex, getDisplayName, getFeature, getFeatureCount, getFeatures, getFocusPoint, getSinX, getSinY, getTanX, getTanY, getValue, getValue, getX, getY, getZ, hasValue, hasValue, move2D, move2D, set2DEditablePoint, setDefaultDisplayNameIndex, setFeature, setFeatures, setValue, setValue, toString, translate2D
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.luciad.shape.ILcdBounded
getBounds
Methods inherited from interface com.luciad.util.ILcdCloneable
clone
Methods inherited from interface com.luciad.datamodel.ILcdDataObject
getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
Methods inherited from interface com.luciad.util.ILcdFeatured
canSetFeature, getFeature, getFeatureCount, setFeature
Methods inherited from interface com.luciad.shape.ILcdShape
contains2D, contains2D, contains3D, contains3D, getFocusPoint
-
Constructor Details
-
TLcdMIFPoint
Creates a new TLcdMIFPoint that is a shallow copy of the given point.- Parameters:
aMIFPoint
- the point to copy.
-
TLcdMIFPoint
Creates a new TLcdMIFPoint at the given location, with the default MapInfo 3.0 symbol.- Parameters:
aPoint
- the position.
-
TLcdMIFPoint
Creates a new TLcdMIFPoint at the given location and with the given symbol.- Parameters:
aPoint
- the position.aSymbol
- the symbol.
-
-
Method Details
-
getPoint
Returns the position of this point.- See Also:
-
setSymbol
Sets the symbol.- See Also:
-
getSymbol
Returns the symbol.- See Also:
-
getMIFType
public short getMIFType()Description copied from interface:ILcdMIFShape
Returns the MIF type of this shape.- Specified by:
getMIFType
in interfaceILcdMIFShape
- Returns:
POINT
.
-
equals
Checks whether thisTLcdMIFPoint
is equal to the givenObject
.- Specified by:
equals
in interfaceILcdPoint
- Overrides:
equals
in classTLcd2DEditableFeaturedPoint
- Parameters:
aObject
- theObject
to compare to.- Returns:
true
if aObject is aTLcdMIFPoint
object with the same 3D coordinates and identical Symbol,false
otherwise.
-
hashCode
public int hashCode()- Overrides:
hashCode
in classTLcd2DEditableFeaturedPoint
-