// ĠTHIS ĠFILE ĠIS ĠGENERATED ! ĠDO ĠNOT ĠEDIT ĠIT ĠMAN U ALLY ! ĠALL ĠCH ANG ES ĠTO ĠIT ĠWILL ĠBE ĠOVER WR IT TEN ĠON ĠE ACH ĠBUILD Ċ package Ġgod ot Ċ Ċ import Ġgod ot . Curve Ċ import Ġgod ot . core . Signal 0 Ċ import Ġgod ot . core . Variant Array Ċ import Ġgod ot . core . Vector 2 Ċ import Ġgod ot . core . signal Ċ import Ġgod ot . ic alls ._ ic all _ Double Ċ import Ġgod ot . ic alls ._ ic all _ Double _ Double Ċ import Ġgod ot . ic alls ._ ic all _ Double _ Long Ċ import Ġgod ot . ic alls ._ ic all _ Long Ċ import Ġgod ot . ic alls ._ ic all _ Long _ Long Ċ import Ġgod ot . ic alls ._ ic all _ Long _ Long _ Double Ċ import Ġgod ot . ic alls ._ ic all _ Long _ Vector 2 _ Double _ Double _ Long _ Long Ċ import Ġgod ot . ic alls ._ ic all _ Unit Ċ import Ġgod ot . ic alls ._ ic all _ Unit _ Double Ċ import Ġgod ot . ic alls ._ ic all _ Unit _ Long Ċ import Ġgod ot . ic alls ._ ic all _ Unit _ Long _ Double Ċ import Ġgod ot . ic alls ._ ic all _ Unit _ Long _ Long Ċ import Ġgod ot . ic alls ._ ic all _ Vector 2 _ Long Ċ import Ġgod ot . internal . utils . getMethod Bind Ċ import Ġgod ot . internal . utils . invoke Constructor Ċ import Ġkotlin . Double Ċ import Ġkotlin . Long Ċ import Ġkotlin . NotImplemented Error Ċ import Ġkotlinx . c interop . CO pa que Pointer Ċ Ċ open Ġclass ĠCurve Ġ: ĠResource () Ġ{ ĊĠ Ġval Ġrange Changed : ĠSignal 0 Ġby Ġsignal () ĊĊĠ Ġopen Ġvar Ġb ake Resolution : ĠLong ĊĠĠĠ Ġget () Ġ{ ĊĠĠĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," get _ b ake _ resolution ") ĊĠĠĠĠĠ Ġreturn Ġ_ ic all _ Long ( mb , Ġthis . ptr ) ĊĠĠĠ Ġ} ĊĠĠĠ Ġset ( value ) Ġ{ ĊĠĠĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," set _ b ake _ resolution ") ĊĠĠĠĠĠ Ġ_ ic all _ Unit _ Long ( mb , Ġthis . ptr , Ġvalue ) ĊĠĠĠ Ġ} ĊĊĠ Ġopen Ġvar ĠmaxValue : ĠDouble ĊĠĠĠ Ġget () Ġ{ ĊĠĠĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," get _ max _ value ") ĊĠĠĠĠĠ Ġreturn Ġ_ ic all _ Double ( mb , Ġthis . ptr ) ĊĠĠĠ Ġ} ĊĠĠĠ Ġset ( value ) Ġ{ ĊĠĠĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," set _ max _ value ") ĊĠĠĠĠĠ Ġ_ ic all _ Unit _ Double ( mb , Ġthis . ptr , Ġvalue ) ĊĠĠĠ Ġ} ĊĊĠ Ġopen Ġvar Ġmin Value : ĠDouble ĊĠĠĠ Ġget () Ġ{ ĊĠĠĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," get _ min _ value ") ĊĠĠĠĠĠ Ġreturn Ġ_ ic all _ Double ( mb , Ġthis . ptr ) ĊĠĠĠ Ġ} ĊĠĠĠ Ġset ( value ) Ġ{ ĊĠĠĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," set _ min _ value ") ĊĠĠĠĠĠ Ġ_ ic all _ Unit _ Double ( mb , Ġthis . ptr , Ġvalue ) ĊĠĠĠ Ġ} ĊĊĠ Ġoverride Ġfun Ġ__ new (): ĠCO pa que Pointer Ġ= Ġinvoke Constructor (" Curve ", Ġ" Curve ") ĊĊĠ Ġopen Ġfun Ġ_ getData (): ĠVariant Array Ġ{ ĊĠĠĠ Ġthrow ĠNotImplementedError ("_ get _ data Ġis Ġnot Ġimplemented Ġfor ĠCurve ") ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġ_ setData ( data : ĠVariant Array ) Ġ{ ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġadd Point ( ĊĠĠĠ Ġposition : ĠVector 2 , ĊĠĠĠ Ġleft Tangent : ĠDouble Ġ= Ġ 0 . 0 , ĊĠĠĠ Ġright Tangent : ĠDouble Ġ= Ġ 0 . 0 , ĊĠĠĠ Ġleft Mode : ĠLong Ġ= Ġ 0 , ĊĠĠĠ Ġright Mode : ĠLong Ġ= Ġ 0 ĊĠ Ġ): ĠLong Ġ{ ĊĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," add _ point ") ĊĠĠĠ Ġreturn Ġ_ ic all _ Long _ Vector 2 _ Double _ Double _ Long _ Long ( Ġmb , Ġthis . ptr , Ġposition , Ġleft Tangent , ĊĠĠĠĠĠĠĠ Ġright Tangent , Ġleft Mode , Ġright Mode ) ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġb ake () Ġ{ ĊĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," b ake ") ĊĠĠĠ Ġ_ ic all _ Unit ( Ġmb , Ġthis . ptr ) ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġclean Dup es () Ġ{ ĊĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," clean _ dup es ") ĊĠĠĠ Ġ_ ic all _ Unit ( Ġmb , Ġthis . ptr ) ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġclear Points () Ġ{ ĊĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," clear _ points ") ĊĠĠĠ Ġ_ ic all _ Unit ( Ġmb , Ġthis . ptr ) ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġget B ake Resolution (): ĠLong Ġ{ ĊĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," get _ b ake _ resolution ") ĊĠĠĠ Ġreturn Ġ_ ic all _ Long ( Ġmb , Ġthis . ptr ) ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġget MaxValue (): ĠDouble Ġ{ ĊĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," get _ max _ value ") ĊĠĠĠ Ġreturn Ġ_ ic all _ Double ( Ġmb , Ġthis . ptr ) ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġget MinValue (): ĠDouble Ġ{ ĊĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," get _ min _ value ") ĊĠĠĠ Ġreturn Ġ_ ic all _ Double ( Ġmb , Ġthis . ptr ) ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġget Point Count (): ĠLong Ġ{ ĊĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," get _ point _ count ") ĊĠĠĠ Ġreturn Ġ_ ic all _ Long ( Ġmb , Ġthis . ptr ) ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġget Point Left Mode ( index : ĠLong ): ĠCurve . Tangent Mode Ġ{ ĊĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," get _ point _ left _ mode ") ĊĠĠĠ Ġreturn ĠCurve . Tangent Mode . from ( Ġ_ ic all _ Long _ Long ( Ġmb , Ġthis . ptr , Ġindex )) ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġget Point Left Tangent ( index : ĠLong ): ĠDouble Ġ{ ĊĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," get _ point _ left _ tang ent ") ĊĠĠĠ Ġreturn Ġ_ ic all _ Double _ Long ( Ġmb , Ġthis . ptr , Ġindex ) ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġget Point Position ( index : ĠLong ): ĠVector 2 Ġ{ ĊĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," get _ point _ position ") ĊĠĠĠ Ġreturn Ġ_ ic all _ Vector 2 _ Long ( Ġmb , Ġthis . ptr , Ġindex ) ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġget Point Right Mode ( index : ĠLong ): ĠCurve . Tangent Mode Ġ{ ĊĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," get _ point _ right _ mode ") ĊĠĠĠ Ġreturn ĠCurve . Tangent Mode . from ( Ġ_ ic all _ Long _ Long ( Ġmb , Ġthis . ptr , Ġindex )) ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġget Point Right Tangent ( index : ĠLong ): ĠDouble Ġ{ ĊĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," get _ point _ right _ tang ent ") ĊĠĠĠ Ġreturn Ġ_ ic all _ Double _ Long ( Ġmb , Ġthis . ptr , Ġindex ) ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġinterpolate ( offset : ĠDouble ): ĠDouble Ġ{ ĊĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," interpolate ") ĊĠĠĠ Ġreturn Ġ_ ic all _ Double _ Double ( Ġmb , Ġthis . ptr , Ġoffset ) ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġinterpolate B aked ( offset : ĠDouble ): ĠDouble Ġ{ ĊĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," interpolate _ b aked ") ĊĠĠĠ Ġreturn Ġ_ ic all _ Double _ Double ( Ġmb , Ġthis . ptr , Ġoffset ) ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġremove Point ( index : ĠLong ) Ġ{ ĊĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," remove _ point ") ĊĠĠĠ Ġ_ ic all _ Unit _ Long ( Ġmb , Ġthis . ptr , Ġindex ) ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġset B ake Resolution ( resolution : ĠLong ) Ġ{ ĊĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," set _ b ake _ resolution ") ĊĠĠĠ Ġ_ ic all _ Unit _ Long ( Ġmb , Ġthis . ptr , Ġresolution ) ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġset MaxValue ( max : ĠDouble ) Ġ{ ĊĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," set _ max _ value ") ĊĠĠĠ Ġ_ ic all _ Unit _ Double ( Ġmb , Ġthis . ptr , Ġmax ) ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġset MinValue ( min : ĠDouble ) Ġ{ ĊĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," set _ min _ value ") ĊĠĠĠ Ġ_ ic all _ Unit _ Double ( Ġmb , Ġthis . ptr , Ġmin ) ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġset Point Left Mode ( index : ĠLong , Ġmode : ĠLong ) Ġ{ ĊĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," set _ point _ left _ mode ") ĊĠĠĠ Ġ_ ic all _ Unit _ Long _ Long ( Ġmb , Ġthis . ptr , Ġindex , Ġmode ) ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġset Point Left Tangent ( index : ĠLong , Ġtangent : ĠDouble ) Ġ{ ĊĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," set _ point _ left _ tang ent ") ĊĠĠĠ Ġ_ ic all _ Unit _ Long _ Double ( Ġmb , Ġthis . ptr , Ġindex , Ġtangent ) ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġset Point Offset ( index : ĠLong , Ġoffset : ĠDouble ): ĠLong Ġ{ ĊĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," set _ point _ offset ") ĊĠĠĠ Ġreturn Ġ_ ic all _ Long _ Long _ Double ( Ġmb , Ġthis . ptr , Ġindex , Ġoffset ) ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġset Point Right Mode ( index : ĠLong , Ġmode : ĠLong ) Ġ{ ĊĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," set _ point _ right _ mode ") ĊĠĠĠ Ġ_ ic all _ Unit _ Long _ Long ( Ġmb , Ġthis . ptr , Ġindex , Ġmode ) ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġset Point Right Tangent ( index : ĠLong , Ġtangent : ĠDouble ) Ġ{ ĊĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," set _ point _ right _ tang ent ") ĊĠĠĠ Ġ_ ic all _ Unit _ Long _ Double ( Ġmb , Ġthis . ptr , Ġindex , Ġtangent ) ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġset Point Value ( index : ĠLong , Ġy : ĠDouble ) Ġ{ ĊĠĠĠ Ġval Ġmb Ġ= Ġget Method Bind (" Curve "," set _ point _ value ") ĊĠĠĠ Ġ_ ic all _ Unit _ Long _ Double ( Ġmb , Ġthis . ptr , Ġindex , Ġy ) ĊĠ Ġ} ĊĊĠ Ġenum Ġclass ĠT ang ent Mode ( ĊĠĠĠ Ġid : ĠLong ĊĠ Ġ) Ġ{ ĊĠĠĠ ĠT ANG ENT _ FREE ( 0 ), ĊĊĠĠĠ ĠT ANG ENT _ LINEAR ( 1 ), ĊĊĠĠĠ ĠT ANG ENT _ MODE _ COUNT ( 2 ); ĊĊĠĠĠ Ġval Ġid : ĠLong ĊĠĠĠ Ġinit Ġ{ ĊĠĠĠĠĠ Ġthis . id Ġ= Ġid ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠ Ġfun Ġfrom ( value : ĠLong ) Ġ= Ġvalues (). single Ġ{ Ġit . id Ġ== Ġvalue Ġ} ĊĠĠĠ Ġ} ĊĠ Ġ} ĊĊĠ Ġcompanion Ġobject Ċ } Ċ