Class PointIntersectionMember<V>
- java.lang.Object
-
- oracle.spatial.network.nfe.model.spatial.interaction.IntersectionMember<V>
-
- oracle.spatial.network.nfe.model.spatial.interaction.PointIntersectionMember<V>
-
- Type Parameters:
V- The type of the intersection member
- All Implemented Interfaces:
java.lang.Cloneable
public class PointIntersectionMember<V> extends IntersectionMember<V>
An intersection member which geometry is a point
-
-
Field Summary
-
Fields inherited from class oracle.spatial.network.nfe.model.spatial.interaction.IntersectionMember
distToComInterPoint, element, geometry, id, intersectionLocation
-
-
Constructor Summary
Constructors Constructor Description PointIntersectionMember(V element, JGeometry point)Allocates a new point intersection member
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()java.awt.geom.Point2DgetIntersectionPoint()Gets the spatial point where the element is intersected.booleanisLine()Tells whether the element held is a linebooleanisPoint()Tells whether the element held is a point-
Methods inherited from class oracle.spatial.network.nfe.model.spatial.interaction.IntersectionMember
getDistToInterCommonPoint, getElement, getGeometry, getId, getIntersectionLocation, getNextId, setDistToInterCommonPoint, setElement, setGeometry, setIntersectionLocation
-
-
-
-
Method Detail
-
isLine
public boolean isLine()
Description copied from class:IntersectionMemberTells whether the element held is a line- Specified by:
isLinein classIntersectionMember<V>- Returns:
- true if the element is a line
-
isPoint
public boolean isPoint()
Description copied from class:IntersectionMemberTells whether the element held is a point- Specified by:
isPointin classIntersectionMember<V>- Returns:
- true if the element is a point
-
getIntersectionPoint
public java.awt.geom.Point2D getIntersectionPoint()
Description copied from class:IntersectionMemberGets the spatial point where the element is intersected.- Specified by:
getIntersectionPointin classIntersectionMember<V>- Returns:
- a java point
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedException- Overrides:
clonein classIntersectionMember<V>- Throws:
java.lang.CloneNotSupportedException
-
-