of
fun of(vertices: NonEmptyList<Vector3D>, tolerance: Double): Either<GeometryException.NotEnoughVertices, LinearRing3D>
Creates a linear ring based on the provided vertices.
fun of(leftVertices: List<Vector3D>, rightVertices: List<Vector3D>, tolerance: Double): NonEmptyList<LinearRing3D>
Creates multiple linear rings from two lists of vertices leftVertices and rightVertices. A list of linear rings are created by iterating over both lists jointly.
Parameters
leftVertices
left vertices for the linear rings construction
rightVertices
right vertices for the linear rings construction