Pulley

data class Pulley(val circle0: Circle, val circle1: Circle) : LinearType<Pulley> , GeometricPrimitive2D(source)

Represents a pulley system defined by two circles.

This class models a geometric structure where two circles are connected with tangential lines, forming a pulley-like system. The Pulley class provides operations for scaling, addition, and subtraction, as well as generating a contour that represents the shape of the pulley.

Constructors

Link copied to clipboard
constructor(circle0: Circle, circle1: Circle)

Properties

Link copied to clipboard
val circle0: Circle

The first circle in the pulley system.

Link copied to clipboard
val circle1: Circle

The second circle in the pulley system.

Link copied to clipboard
val contour: ShapeContour

Functions

Link copied to clipboard
open operator override fun div(scale: Double): Pulley
Link copied to clipboard
open operator override fun minus(right: Pulley): Pulley
Link copied to clipboard
open operator override fun plus(right: Pulley): Pulley
Link copied to clipboard
open operator override fun times(scale: Double): Pulley