Polyhedron3DFactory
object Polyhedron3DFactory
Factory for building Polyhedron3D for which multiple preparation steps are required to overcome heterogeneous input.
Types
Link copied to clipboard
data class VerticalOutlineElement(val basePoint: Vector3D, val leftHeadPoint: Option<Vector3D>, val rightHeadPoint: Option<Vector3D> = None, val tolerance: Double) : Tolerable
A vertical outline element is represented by a basePoint and an optional leftHeadPoint and rightHeadPoint. The basePoint defines the bound of the base surface.
Functions
Link copied to clipboard
fun buildFromVerticalOutlineElements(outlineId: RoadObjectOutlineIdentifier, outlineElements: NonEmptyList<Polyhedron3DFactory.VerticalOutlineElement>, tolerance: Double): Either<GeometryBuilderException, ContextIssueList<Polyhedron3D>>
Builds a Polyhedron3D from a list of VerticalOutlineElement, which define the boundary of the Polyhedron3D.