PlanimetricsCalculationContext

class PlanimetricsCalculationContext<C, out A : Ring<C>>(val ring: A) : KoneContext

Constructors

Link copied to clipboard
constructor(ring: A)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val origin: Point<C>
Link copied to clipboard
Link copied to clipboard
val ring: A
Link copied to clipboard
val xAxis: Line<C>
Link copied to clipboard
val xBasis: Point<C>
Link copied to clipboard
val yAxis: Line<C>
Link copied to clipboard
val yBasis: Point<C>

Functions

Link copied to clipboard
Link copied to clipboard

Constructs centroid of triangle ABC.

Link copied to clipboard

Constructs circle (as Quadric) by its center and point on it.

Link copied to clipboard

Constructs circle (as Quadric) by the given opposite points on it.

Link copied to clipboard

Constructs circumcenter of triangle ABC.

Link copied to clipboard

Constructs circumcircle of triangle ABC as Quadric.

Link copied to clipboard
Link copied to clipboard

Returns an expression which equality to zero is equivalent to collinearity of the points.

Link copied to clipboard

Tests if the points are collinear.

Link copied to clipboard

Returns an expression which equality to zero is equivalent to concurrency of the lines.

Link copied to clipboard

Tests if the lines are

Link copied to clipboard

Constructs a point P on the line through A and B that divides segment \( AB \) in ratio lambda. It means that on the affine map that is considered generated by Point.x and Point.y coordinates a point P such that \(\overrightarrow{AP}/\overrightarrow{PB} = \lambda\), so P is returned.

Constructs a point P on the line through A and B that divides segment \( AB \) in ratio \(a/b\). It means that on the affine map that is considered generated by Point.x and Point.y coordinates a point P such that \(\overrightarrow{AP}/\overrightarrow{PB} = a/b\), so P is returned.

Link copied to clipboard
Link copied to clipboard
infix inline fun Line<C>.eq(other: Line<C>): Boolean
infix inline fun Point<C>.eq(other: Point<C>): Boolean
infix inline fun Quadric<C>.eq(other: Quadric<C>): Boolean
infix inline fun Transformation<C>.eq(other: Transformation<C>): Boolean
Link copied to clipboard
infix fun Line<C>.equalsTo(other: Line<C>): Boolean
infix fun Point<C>.equalsTo(other: Point<C>): Boolean
infix fun Quadric<C>.equalsTo(other: Quadric<C>): Boolean
infix inline fun Transformation<C>.equalsTo(other: Transformation<C>): Boolean
Link copied to clipboard

Constructs Euler's circle of triangle ABC as Quadric.

Link copied to clipboard

Constructs Euler line of triangle ABC.

Link copied to clipboard
operator fun Line.Companion.getValue(thisRef: Any?, property: KProperty<*>): Line<C>
operator fun Point.Companion.getValue(thisRef: Any?, property: KProperty<*>): Point<C>
operator fun Quadric.Companion.getValue(thisRef: Any?, property: KProperty<*>): Quadric<C>
Link copied to clipboard
Link copied to clipboard

Constructs intersection of the given lines l and m.

Link copied to clipboard
operator fun Transformation<C>.invoke(l: Line<C>): Line<C>
operator fun Transformation<C>.invoke(P: Point<C>): Point<C>
operator fun Transformation<C>.invoke(q: Quadric<C>): Quadric<C>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Checks if the given quadric is circle.

Link copied to clipboard
infix fun Point<C>.isLyingOn(l: Line<C>): Boolean

Checks if this point is lying on the line l.

infix fun Point<C>.isLyingOn(q: Quadric<C>): Boolean

Checks if this point is lying on the quadric q.

Link copied to clipboard
infix fun Line<C>.isLyingThrough(P: Point<C>): Boolean

Checks if this line is lying through the point P.

Checks if this quadric is lying through the point P.

Link copied to clipboard
infix fun Point<C>.isNotLyingOn(l: Line<C>): Boolean

Checks if this point is not lying on the line l.

infix fun Point<C>.isNotLyingOn(q: Quadric<C>): Boolean

Checks if this point is not lying on the quadric q.

Link copied to clipboard

Checks if this line is not lying through the point P.

Checks if this quadric is not lying through the point P.

Link copied to clipboard

Checks if this line is not tangent to the quadric q.

Checks if this quadric is not tangent to the line l.

Link copied to clipboard
infix inline fun Line<C>.isParallelTo(other: Line<C>): Boolean
Link copied to clipboard
infix inline fun Line<C>.isPerpendicularTo(other: Line<C>): Boolean
Link copied to clipboard
infix fun Line<C>.isTangentTo(q: Quadric<C>): Boolean

Checks if this line is tangent to the quadric q.

infix fun Quadric<C>.isTangentTo(l: Line<C>): Boolean

Checks if this quadric is tangent to the line l.

Link copied to clipboard
Link copied to clipboard

Constructs line that goes through the given points A and B.

Link copied to clipboard

Returns an expression which equality to zero is equivalent to condition of P lying on l.

Returns an expression which equality to zero is equivalent to condition of P lying on q.

Link copied to clipboard

Constructs a midpoint between A and B. The affine map is considered generated by Point.x and Point.y coordinates.

Link copied to clipboard
infix inline fun Line<C>.neq(other: Line<C>): Boolean
infix inline fun Point<C>.neq(other: Point<C>): Boolean
infix inline fun Quadric<C>.neq(other: Quadric<C>): Boolean
infix inline fun Transformation<C>.neq(other: Transformation<C>): Boolean
Link copied to clipboard
infix inline fun Line<C>.notEqualsTo(other: Line<C>): Boolean
infix inline fun Point<C>.notEqualsTo(other: Point<C>): Boolean
infix inline fun Quadric<C>.notEqualsTo(other: Quadric<C>): Boolean
infix inline fun Transformation<C>.notEqualsTo(other: Transformation<C>): Boolean
Link copied to clipboard

Constructs orthocenter of triangle ABC.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
infix inline fun Line<C>.parallelLineThrough(A: Point<C>): Line<C>
Link copied to clipboard
infix inline fun Point<C>.parallelLineTo(l: Line<C>): Line<C>
Link copied to clipboard

Constructs perpendicular in terms of affine map that is considered generated by Point.x and Point.y coordinates line to the given line l through the given point A.

Link copied to clipboard
infix inline fun Line<C>.perpendicularThrough(A: Point<C>): Line<C>
Link copied to clipboard
infix inline fun Point<C>.perpendicularTo(l: Line<C>): Line<C>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Point<C>.polarBy(q: Quadric<C>): Line<C>
Link copied to clipboard
fun Line<C>.poleBy(q: Quadric<C>): Point<C>
Link copied to clipboard
fun Point<C>.projectOn(l: Line<C>): Point<C>

Construct a normal projection in terms of affine map that is considered generated by Point.x and Point.y coordinates of this point to the given line l.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Returns an expression which equality to zero is equivalent to condition of l being tangent to q.