MATSIM
core
network
algorithms
intersectionSimplifier
containers
HullNode.java
Go to the documentation of this file.
1
/* *********************************************************************** *
2
* project: org.matsim.*
3
* *
4
* *********************************************************************** *
5
* *
6
* copyright : (C) 2013 by the members listed in the COPYING, *
7
* LICENSE and WARRANTY file. *
8
* email : info at matsim dot org *
9
* *
10
* *********************************************************************** *
11
* *
12
* This program is free software; you can redistribute it and/or modify *
13
* it under the terms of the GNU General Public License as published by *
14
* the Free Software Foundation; either version 2 of the License, or *
15
* (at your option) any later version. *
16
* See also COPYING, LICENSE and WARRANTY file *
17
* *
18
* *********************************************************************** */
19
20
package
org.matsim.core.network.algorithms.intersectionSimplifier.containers;
21
22
import
org
.locationtech.jts.geom.Coordinate;
23
24
public
class
HullNode
{
26
private
int
id
;
27
29
private
Coordinate
coordinate
;
30
33
private
boolean
border
;
34
35
44
public
HullNode
(
int
id
, Coordinate coordinate) {
45
this.
id
=
id
;
46
this.
setCoordinate
(coordinate);
47
this.border =
false
;
/* Default is false. */
48
}
49
50
57
public
int
getId
() {
58
return
this.
id
;
59
}
60
67
public
void
setId
(
int
id
) {
68
this.
id
=
id
;
69
}
70
77
public
Coordinate
getCoordinate
() {
78
return
this.
coordinate
;
79
}
80
87
public
void
setCoordinate
(Coordinate c) {
88
this.coordinate = c;
89
}
90
99
public
boolean
isBorder
() {
100
return
this.
border
;
101
}
102
111
public
void
setBorder
(
boolean
border) {
112
this.border =
border
;
113
}
114
}
org.matsim.core.network.algorithms.intersectionSimplifier.containers.HullNode.isBorder
boolean isBorder()
Definition:
HullNode.java:99
org
org.matsim.core.network.algorithms.intersectionSimplifier.containers.HullNode.border
boolean border
Definition:
HullNode.java:33
org.matsim.core.network.algorithms.intersectionSimplifier.containers.HullNode.getCoordinate
Coordinate getCoordinate()
Definition:
HullNode.java:77
org.matsim.core.network.algorithms.intersectionSimplifier.containers.HullNode
Definition:
HullNode.java:24
org.matsim.core.network.algorithms.intersectionSimplifier.containers.HullNode.setCoordinate
void setCoordinate(Coordinate c)
Definition:
HullNode.java:87
org.matsim.core.network.algorithms.intersectionSimplifier.containers.HullNode.setId
void setId(int id)
Definition:
HullNode.java:67
org.matsim.core.network.algorithms.intersectionSimplifier.containers.HullNode.setBorder
void setBorder(boolean border)
Definition:
HullNode.java:111
org.matsim.core.network.algorithms.intersectionSimplifier.containers.HullNode.coordinate
Coordinate coordinate
Definition:
HullNode.java:29
org.matsim.core.network.algorithms.intersectionSimplifier.containers.HullNode.HullNode
HullNode(int id, Coordinate coordinate)
Definition:
HullNode.java:44
org.matsim.core.network.algorithms.intersectionSimplifier.containers.HullNode.getId
int getId()
Definition:
HullNode.java:57
org.matsim.core.network.algorithms.intersectionSimplifier.containers.HullNode.id
int id
Definition:
HullNode.java:26
Generated by
1.8.13