FooCAD
Toggle table of contents
3.0
jvm
Platform filter
jvm
Switch theme
Search in API
FooCAD
foocad-core
/
uk.co.nickthecoder.foocad.core.compounds
/
ManualPairing
Manual
Pairing
class
ManualPairing
(
val
pairs
:
List
<
Pair
<
Int
,
Int
>
>
)
:
VertexPairing
Pair up the points manually.
Members
Constructors
Manual
Pairing
Link copied to clipboard
constructor
(
pairs
:
List
<
Pair
<
Int
,
Int
>
>
)
Properties
pairs
Link copied to clipboard
val
pairs
:
List
<
Pair
<
Int
,
Int
>
>
Functions
pair
Points
Link copied to clipboard
open
override
fun
pairPoints
(
shapeA
:
List
<
Vector2
>
,
shapeB
:
List
<
Vector2
>
)
:
List
<
Pair
<
Int
,
Int
>
>
Returns a list of edges, which should be ordered clockwise.