public class TLcdMIFPoint extends TLcd2DEditableFeaturedPoint implements ILcdMIFShape
ILcdMIFShape
represents a MIF point.
Its type is POINT
.ARC, COLLECTION, ELLIPSE, LINE, MULTIPOINT, NONE, PLINE, POINT, RECT, REGION, ROUNDRECT, TEXT
Constructor and Description |
---|
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.
|
TLcdMIFPoint(TLcdMIFPoint aMIFPoint)
Creates a new TLcdMIFPoint that is a shallow copy of the given point.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object aObject)
Checks whether this
TLcdMIFPoint is equal to the given Object . |
short |
getMIFType()
Returns the MIF type of this shape.
|
ILcdPoint |
getPoint()
Returns the position of this point.
|
ILcdMIFSymbol |
getSymbol()
Returns the symbol.
|
int |
hashCode() |
void |
setSymbol(ILcdMIFSymbol aSymbol)
Sets the symbol.
|
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
finalize, getClass, notify, notifyAll, wait, wait, wait
contains2D, contains2D, contains3D, contains3D, getFocusPoint
getBounds
clone
canSetFeature, getFeature, getFeatureCount, setFeature
getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
public TLcdMIFPoint(TLcdMIFPoint aMIFPoint)
aMIFPoint
- the point to copy.public TLcdMIFPoint(ILcd2DEditablePoint aPoint)
aPoint
- the position.public TLcdMIFPoint(ILcd2DEditablePoint aPoint, ILcdMIFSymbol aSymbol)
aPoint
- the position.aSymbol
- the symbol.public ILcdPoint getPoint()
public void setSymbol(ILcdMIFSymbol aSymbol)
getSymbol()
public ILcdMIFSymbol getSymbol()
setSymbol(ILcdMIFSymbol)
public short getMIFType()
ILcdMIFShape
getMIFType
in interface ILcdMIFShape
POINT
.public boolean equals(Object aObject)
TLcdMIFPoint
is equal to the given Object
.equals
in interface ILcdPoint
equals
in class TLcd2DEditableFeaturedPoint
aObject
- the Object
to compare to.true
if aObject is a TLcdMIFPoint
object with the
same 3D coordinates and identical Symbol, false
otherwise.public int hashCode()
hashCode
in class TLcd2DEditableFeaturedPoint