public class Edge extends Object
SphericalPolygonsSet.getBoundaryLoops()
,
Vertex
Modifier and Type | Method and Description |
---|---|
Circle |
getCircle()
Get the circle supporting this edge.
|
Vertex |
getEnd()
Get end vertex.
|
double |
getLength()
Get the length of the arc.
|
Vector3D |
getPointAt(double alpha)
Get an intermediate point.
|
Vertex |
getStart()
Get start vertex.
|
public Vertex getStart()
public Vertex getEnd()
public double getLength()
public Circle getCircle()
public Vector3D getPointAt(double alpha)
The angle along the edge should normally be between 0 and getLength()
in order to remain within edge limits. However, there are no checks on the
value of the angle, so user can rebuild the full circle on which an edge is
defined if they want.
alpha
- angle along the edge, counted from getStart()
Copyright © 2016-2021 CS GROUP. All rights reserved.