data class Circle3D: AbstractSurface3D

Represents a circle with a certain radius in 3D.

Fields

Name Description
val radius: Double

radius of the circle

val tolerance: Double

tolerable threshold value

val affineSequence: AffineSequence3D

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

Constructors

<init>

constructor(radius: Double, tolerance: Double, affineSequence: AffineSequence3D, numberSlices: Int)

Represents a circle with a certain radius in 3D.

Parameters

Name Description
radius: Double

radius of the circle

tolerance: Double
affineSequence: AffineSequence3D
numberSlices: Int

number of discretization steps for polygon construction

Methods

calculatePolygonsLocalCS

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

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

ReturnValue

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

accept

fun accept(visitor: Geometry3DVisitor)

Accepting function so that a geometry visitor can pass by.

Parameters

Name Description
visitor: Geometry3DVisitor

ReturnValue

Name Description
Unit