placeofTangents

Finds the point of contact between two forms.

@safe nothrow pure
const(Vecf)
placeofTangents
(
Shape!float first
,,
Vecf firstPos = vecf(0, 0)
,
Vecf secondPos = vecf(0, 0)
)
in (first.type != ShapeType.triangle && second.type != ShapeType.triangle)

Parameters

first Shape!float

First shape.

second Shape!float

Second shape.

firstPos Vecf

First shape position.

secondPos Vecf

Second shape position.

Return Value

Type: const(Vecf)

point of contact between two forms.

Meta