class CurveRelativeLineSegment3D: CurveRelativeAbstractGeometry3D, Tolerable

Line segment in a curve relative coordinate system in 3D.

Fields

Name Description
val start: CurveRelativeVector3D

start of the line segment

val end: CurveRelativeVector3D

end of the line segment

val tolerance: Double

allowed tolerance

val endBoundType: BoundType

Constructors

<init>

constructor(start: CurveRelativeVector3D, end: CurveRelativeVector3D, tolerance: Double, endBoundType: BoundType)

Line segment in a curve relative coordinate system in 3D.

Parameters

Name Description
start: CurveRelativeVector3D

start of the line segment

end: CurveRelativeVector3D

end of the line segment

tolerance: Double

allowed tolerance

endBoundType: BoundType

CompanionObject

CurveRelativeLineSegment3D

class CurveRelativeLineSegment3D: CurveRelativeAbstractGeometry3D, Tolerable

Line segment in a curve relative coordinate system in 3D.

Methods

of

fun of(start: CurveRelativeVector3D, end: CurveRelativeVector3D, tolerance: Double, endBoundType: BoundType): Result<CurveRelativeLineSegment3D, IllegalArgumentException>

Creates a LineSegment3D, if start and end are not fuzzily equal according to the tolerance.

Parameters

Name Description
start: CurveRelativeVector3D
end: CurveRelativeVector3D
tolerance: Double
endBoundType: BoundType

ReturnValue

Name Description
Result<CurveRelativeLineSegment3D, IllegalArgumentException>