Rectangle3D
data class Rectangle3D(val length: Double, val width: Double, val tolerance: Double, val affineSequence: AffineSequence3D = AffineSequence3D.EMPTY) : AbstractSurface3D
Rectangle with a certain length and width whereby the origin is located at the rectangle's center at z=0.
Parameters
length
length of rectangle in the direction of the x-axis
width
width of rectangle in the direction of the y-axis
Constructors
Link copied to clipboard
constructor(length: Double, width: Double, tolerance: Double, affineSequence: AffineSequence3D = AffineSequence3D.EMPTY)
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.