Circle3D
data class Circle3D(val radius: Double, val tolerance: Double, val affineSequence: AffineSequence3D = AffineSequence3D.EMPTY, numberSlices: Int = DEFAULT_NUMBER_SLICES) : AbstractSurface3D
Represents a circle with a certain radius in 3D.
Parameters
radius
radius of the circle
numberSlices
number of discretization steps for polygon construction
Constructors
Link copied to clipboard
constructor(radius: Double, tolerance: Double, affineSequence: AffineSequence3D = AffineSequence3D.EMPTY, numberSlices: Int = DEFAULT_NUMBER_SLICES)
Properties
Functions
Link copied to clipboard
Accepting function so that a geometry visitor can pass by.
Link copied to clipboard
fun calculatePolygonsGlobalCS(): Either<GeometryException.BoundaryRepresentationGenerationError, NonEmptyList<Polygon3D>>
Calculates the polygons for the respective surface geometry and transforms it to the global coordinate system.
Link copied to clipboard
open override fun calculatePolygonsLocalCS(): Either<GeometryException.BoundaryRepresentationGenerationError, NonEmptyList<Polygon3D>>
Calculates the polygons for the respective surface geometry within the local coordinate system of the surface.