Class NFEFeatureElementGeoObject
- java.lang.Object
-
- oracle.spatial.network.nfe.model.spatial.NFEGeoObject
-
- oracle.spatial.network.nfe.model.spatial.NFEFeatureElementGeoObject
-
- All Implemented Interfaces:
java.lang.Cloneable,GeoObject
public class NFEFeatureElementGeoObject extends NFEGeoObject
A GeoObject representation of a feature element.
-
-
Constructor Summary
Constructors Constructor Description NFEFeatureElementGeoObject(NFEFeatureElement featElem)Allocates a new feature element GeoObject
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NFEFeatureElementgetFeatureElement()Gets the GeoObject feature elementbooleanisLine()Tells whether the type of the feature element is a linebooleanisPOL()Tells whether the type of the feature element is POL (point on link)booleanisPON()Tells whether the type of the feature element is PON (point on node)voidrefreshGeometry()Updates the geoobject's geometry.-
Methods inherited from class oracle.spatial.network.nfe.model.spatial.NFEGeoObject
getDrawable, getGeometry, getKey, getLayer, getMBR, isSubElementOf, setGeometry, setKey, setLayer, substract
-
-
-
-
Constructor Detail
-
NFEFeatureElementGeoObject
public NFEFeatureElementGeoObject(NFEFeatureElement featElem)
Allocates a new feature element GeoObject- Parameters:
featElem- the GeoObject's feature element
-
-
Method Detail
-
refreshGeometry
public void refreshGeometry()
Description copied from class:NFEGeoObjectUpdates the geoobject's geometry. Do not call this method directly if the geometry is spatial-indexed- Specified by:
refreshGeometryin classNFEGeoObject
-
getFeatureElement
public NFEFeatureElement getFeatureElement()
Gets the GeoObject feature element- Returns:
- a feature element object
-
isPON
public boolean isPON()
Tells whether the type of the feature element is PON (point on node)- Returns:
- true if the feature element is a PON
-
isPOL
public boolean isPOL()
Tells whether the type of the feature element is POL (point on link)- Returns:
- true if the feature element is a POL
-
isLine
public boolean isLine()
Tells whether the type of the feature element is a line- Returns:
- true if the feature element is a line
-
-