data class Rectangle3D: AbstractSurface3D

Rectangle with a certain length and width whereby the origin is located at the rectangle's center at z=0.

Fields

Name Description
val length: Double

length of rectangle in the direction of the x axis

val width: Double

width of rectangle in the direction of the y axis

val tolerance: Double

tolerable threshold value

val affineSequence: AffineSequence3D

List of affine transformation matrices to move and rotate the geometric object.

Constructors

<init>

constructor(length: Double, width: Double, tolerance: Double, affineSequence: AffineSequence3D)

Rectangle with a certain length and width whereby the origin is located at the rectangle's center at z=0.

Parameters

Name Description
length: Double

length of rectangle in the direction of the x axis

width: Double

width of rectangle in the direction of the y axis

tolerance: Double
affineSequence: AffineSequence3D

Methods

calculatePolygonsLocalCS

fun calculatePolygonsLocalCS(): Result, Exception><List<Polygon3D>, Exception>

Calculates the polygons for the respective surface geometry within the local coordinate system of the surface.

ReturnValue

Name Description
Result, Exception><List<Polygon3D>, Exception>