object Polyhedron3DFactory: Any

Factory for building Polyhedron3D for which multiple preparation steps are required to overcome heterogeneous input.

Methods

buildFromVerticalOutlineElements

fun buildFromVerticalOutlineElements(outlineId: RoadObjectOutlineIdentifier, outlineElements: NonEmptyList<VerticalOutlineElement>, tolerance: Double): Either><GeometryBuilderException, ContextMessageList<Polyhedron3D>>

Builds a Polyhedron3D from a list of VerticalOutlineElement, which define the boundary of the Polyhedron3D.

Parameters

Name Description
outlineId: RoadObjectOutlineIdentifier
outlineElements: NonEmptyList<VerticalOutlineElement>

vertical line segments or points bounding the polyhedron

tolerance: Double

ReturnValue

Name Description
Either><GeometryBuilderException, ContextMessageList<Polyhedron3D>>