Package-level declarations

Types

Link copied to clipboard
class AttributesSerializer(serializableAttributes: Set<SerializableAttribute<*>>) : KSerializer<Attributes>
Link copied to clipboard
Link copied to clipboard
abstract class SerializableAttribute<T>(val serialId: String, val serializer: KSerializer<T>) : Attribute<T>

Functions

Link copied to clipboard
fun Float64Space2D.circle(x: Number, y: Number, radius: Number): Circle2D<Float64>
Link copied to clipboard
fun CircleTrajectory2D.containsPoint(point: Vector2D<Float64>): Boolean
Link copied to clipboard
fun Float64Space2D.intersects(segment1: LineSegment2D, segment2: LineSegment2D): Boolean
fun Float64Space2D.intersects(polygon: Polygon<Vector2D<Float64>>, segment: LineSegment2D): Boolean
fun Float64Space2D.intersects(polygon: Polygon<Vector2D<Float64>>, circle: Circle2D<Float64>): Boolean
fun Float64Space2D.intersects(circle: Circle2D<Float64>, segment: LineSegment2D): Boolean

fun Float64Space2D.intersects(segment: LineSegment2D, circle: Circle2D<Float64>): Boolean

https://mathworld.wolfram.com/Circle-LineIntersection.html

Link copied to clipboard
fun Float64Space2D.intersectsOrInside(circle1: Circle2D<Float64>, circle2: Circle2D<Float64>): Boolean
Link copied to clipboard
fun Float64Space2D.intersectsTrajectory(segment: LineSegment2D, trajectory: Trajectory2D): Boolean
fun Float64Space2D.intersectsTrajectory(polygon: Polygon<Vector2D<Float64>>, trajectory: Trajectory2D): Boolean
Link copied to clipboard
fun Float64Space2D.polygon(points: List<Vector2D<Double>>): Polygon<Vector2D<Float64>>
Link copied to clipboard
fun Float64Space2D.segment(begin: Vector2D<Float64>, end: Vector2D<Float64>): LineSegment2D
fun Float64Space2D.segment(x1: Number, y1: Number, x2: Number, y2: Number): LineSegment2D
Link copied to clipboard
fun Circle2D<Float64>.tangent(bearing: Angle, direction: Trajectory2D.Direction): Pose2D

Compute tangent pose to a circle