SphericalPolygonsSet#getBoundaryLoops(), Vertex
| Modifier and Type | Field and Description |
|---|---|
| private final Circle | circle
Circle supporting the edge. |
| private Vertex | end
End vertex. |
| private final double | length
Length of the arc. |
| private final Vertex | start
Start vertex. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private Vertex | Returns: end vertex of the edge (subEnd if the edge was long enough and really
added, subStart if the edge was too small and therefore ignored)start of the sub-edge subStart, final Vertex end of the sub-edge subEnd, final double length of the sub-edge subLength, final List<Edge> list where to put the sub-edge list, final Circle circle splitting the edge in several parts splitCircle)Add a sub-edge to a list if long enough. |
| public Circle | |
| public Vertex | |
| public double | |
| public Vector3D | Returns: an intermediate pointangle along the edge, counted from alpha)getStart()Get an intermediate point. |
| public Vertex | |
| pack-priv void | |
| pack-priv void |
| circle | back to summary |
|---|---|
| private final Circle circle Circle supporting the edge. | |
| end | back to summary |
|---|---|
| private Vertex end End vertex. | |
| length | back to summary |
|---|---|
| private final double length Length of the arc. | |
| start | back to summary |
|---|---|
| private final Vertex start Start vertex. | |
| Edge | back to summary |
|---|---|
| pack-priv Edge(final Vertex start, final Vertex end, final double length, final Circle circle) Build an edge not contained in any node yet. | |
| addSubEdge | back to summary |
|---|---|
| private Vertex addSubEdge(final Vertex subStart, final Vertex subEnd, final double subLength, final List<Edge> list, final Circle splitCircle) Add a sub-edge to a list if long enough.
If the length of the sub-edge to add is smaller than the
| |
| getCircle | back to summary |
|---|---|
| public Circle getCircle() Get the circle supporting this edge.
| |
| getEnd | back to summary |
|---|---|
| public Vertex getEnd() Get end vertex.
| |
| getLength | back to summary |
|---|---|
| public double getLength() Get the length of the arc.
| |
| getPointAt | back to summary |
|---|---|
| public Vector3D getPointAt(final double alpha) Get an intermediate point.
The angle along the edge should normally be between 0 and
| |
| getStart | back to summary |
|---|---|
| public Vertex getStart() Get start vertex.
| |
| setNextEdge | back to summary |
|---|---|
| pack-priv void setNextEdge(final Edge next) Connect the instance with a following edge.
| |
| split | back to summary |
|---|---|
| pack-priv void split(final Circle splitCircle, final List<Edge> outsideList, final List<Edge> insideList) Split the edge. Once split, this edge is not referenced anymore by the vertices, it is replaced by the two or three sub-edges and intermediate splitting vertices are introduced to connect these sub-edges together. | |