Class Vertex
java.lang.Object
org.apache.commons.math3.geometry.spherical.twod.Vertex
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidBind a circle considered to contain this vertex.Get incoming edge.Get Vertex location.Get outgoing edge.(package private) voidsetIncoming(Edge incoming) Set incoming edge.(package private) voidsetOutgoing(Edge outgoing) Set outgoing edge.(package private) CirclesharedCircleWith(Vertex vertex) Get the common circle bound with both the instance and another vertex, if any.
-
Field Details
-
location
Vertex location. -
incoming
Incoming edge. -
outgoing
Outgoing edge. -
circles
-
-
Constructor Details
-
Vertex
Vertex(S2Point location) Build a non-processed vertex not owned by any node yet.- Parameters:
location- vertex location
-
-
Method Details
-
getLocation
-
bindWith
Bind a circle considered to contain this vertex.- Parameters:
circle- circle to bind with this vertex
-
setIncoming
Set incoming edge.The circle supporting the incoming edge is automatically bound with the instance.
- Parameters:
incoming- incoming edge
-
getIncoming
-
setOutgoing
Set outgoing edge.The circle supporting the outgoing edge is automatically bound with the instance.
- Parameters:
outgoing- outgoing edge
-
getOutgoing
-