public class Cycle extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
aGauche |
protected List<Arc> |
arcs |
protected ILineString |
geometrie |
protected List<Boolean> |
orientationsArcs |
Constructor and Description |
---|
Cycle(List<Arc> arcs,
List<Boolean> orientationsArcs,
ILineString geometrie,
boolean aGauche)
Construit un cycle
|
Modifier and Type | Method and Description |
---|---|
List<Arc> |
getArcs()
Récupère la liste des arcs du cycle
|
ILineString |
getGeometrie()
Récupère la géométrie du cycle
|
List<Face> |
getListeFacesExterieuresDuCycle()
Construit la liste des faces à l'extérieur du cycle en parcourant ce cycle.
|
Collection<Face> |
getListeFacesInterieuresDuCycle()
Construit la liste des faces à l'intérieur du cycle en parcourant ce cycle.
|
List<Boolean> |
getOrientationsArcs()
Récupère la liste des orientations du cycle
|
boolean |
isAGauche()
Récupère le sens de parcours du premier arc du cycle
|
void |
setAGauche(boolean gauche)
Définit le sens de parcours du premier arc du cycle
|
void |
setArcs(List<Arc> arcs)
définit la liste des arcs du cycle
|
void |
setGeometrie(ILineString geometrie)
Définit la géométrie du cycle
|
void |
setOrientationsArcs(List<Boolean> orientationsArcs)
Définit la liste des orientations du cycle
|
String |
toString() |
protected ILineString geometrie
protected boolean aGauche
public Cycle(List<Arc> arcs, List<Boolean> orientationsArcs, ILineString geometrie, boolean aGauche)
arcs
- liste des arcs du cycleorientationsArcs
- orientations respectives des arcs du cyclegeometrie
- géométrie du cycle (GM_LineString)aGauche
- vrai si le cycle parcours son premier arcs par la gauche,
faux sinon.public List<Arc> getArcs()
public void setArcs(List<Arc> arcs)
arcs
- la liste des arcs du cyclepublic List<Boolean> getOrientationsArcs()
public void setOrientationsArcs(List<Boolean> orientationsArcs)
orientationsArcs
- les orientations des arcs du cyclepublic ILineString getGeometrie()
public void setGeometrie(ILineString geometrie)
geometrie
- la géométrie du cyclepublic boolean isAGauche()
public void setAGauche(boolean gauche)
gauche
- le sens de parcours du premier arc du cycle : vrai s'il est
parcours par la gauche, faux sinon.public Collection<Face> getListeFacesInterieuresDuCycle()
public List<Face> getListeFacesExterieuresDuCycle()
Copyright © 2016 Laboratoire COGIT, IGN. All rights reserved.