@ file : Suppress (" unused ", Ġ" ClassName ", Ġ" Enum Entry Name ", Ġ" FunctionName ", Ġ" Spell Checking Inspection ", Ġ" PARAMETER _ NAME _ CHANGED _ ON _ OVERRIDE ", Ġ" Unused Import ", Ġ" Package Directory Mismatch ") Ċ package Ġgod ot Ċ Ċ import Ġgod ot . gd native .* Ċ import Ġgod ot . core .* Ċ import Ġgod ot . utils .* Ċ import Ġgod ot . ic alls .* Ċ import Ġkotlinx . c interop .* ĊĊ Ċ // ĠNOTE : ĠTHIS ĠFILE ĠIS ĠAUTO ĠGENERATED ĠFROM ĠJSON ĠAPI ĠCONFIG ĊĊ Ċ open Ġclass ĠGeometry Ġ: ĠObject Ġ{ ĊĠĠĠ Ġprivate Ġconstructor () Ġ: Ġsuper ("") ĊĠĠĠ Ġconstructor ( variant : ĠVariant ) Ġ: Ġsuper ( variant ) ĊĠĠĠ Ġinternal Ġconstructor ( mem : ĠCO pa que Pointer ) Ġ: Ġsuper ( mem ) ĊĠĠĠ Ġinternal Ġconstructor ( name : ĠString ) Ġ: Ġsuper ( name ) ĊĊĊĠĠĠ Ġ// ĠEnums ĠĊĊ ĊĊĠĠĠ Ġ// ĠSign als ĊĠĠĠ Ġclass ĠSignal Ġ{ ĊĠĠĠĠĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĊĠĠĠ Ġ@ Thread Local ĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġin fix Ġfun Ġfrom ( other : ĠObject ): ĠGeometry Ġ= ĠGeometry (" "). apply Ġ{ Ġset Raw Memory ( other . raw Memory ) Ġ} ĊĠĠĠĠĠĠĠ Ġin fix Ġfun Ġfrom ( other : ĠVariant ): ĠGeometry Ġ= Ġfrom Variant ( Geometry (""), Ġother ) ĊĊĊĠĠĠĠĠĠĠ Ġ// ĠConstants ĊĊĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġraw Memory : ĠCO pa que Pointer Ġby Ġlazy Ġ{ Ġget Singleton (" Geometry ", Ġ"_ Geometry ") Ġ} ĊĊĊĠĠĠĠĠĠĠ Ġ// ĠProperties ĊĊĊĠĠĠĠĠĠĠ Ġ// ĠMethods ĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġbuild Box Planes Method Bind : ĠC Pointer < godot _ method _ bind > Ġby Ġlazy Ġ{ Ġget MB ("_ Geometry ", Ġ" build _ box _ planes ") Ġ} ĊĠĠĠĠĠĠĠ Ġfun Ġbuild Box Planes ( ext ents : ĠVector 3 ): ĠG D Array Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġ_ ic all _ GD Array _ Vector 3 ( build Box Planes Method Bind , Ġthis . raw Memory , Ġext ents ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġbuild Cy linder Planes Method Bind : ĠC Pointer < godot _ method _ bind > Ġby Ġlazy Ġ{ Ġget MB ("_ Geometry ", Ġ" build _ cy linder _ planes ") Ġ} ĊĠĠĠĠĠĠĠ Ġfun Ġbuild Cy linder Planes ( radius : ĠDouble , Ġheight : ĠDouble , Ġsides : ĠLong , Ġaxis : ĠLong Ġ= Ġ 2 ): ĠG D Array Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġ_ ic all _ GD Array _ Double _ Double _ Long _ Long ( build Cy linder Planes Method Bind , Ġthis . raw Memory , Ġradius , Ġheight , Ġsides , Ġaxis ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġbuild Caps ule Planes Method Bind : ĠC Pointer < godot _ method _ bind > Ġby Ġlazy Ġ{ Ġget MB ("_ Geometry ", Ġ" build _ caps ule _ planes ") Ġ} ĊĠĠĠĠĠĠĠ Ġfun Ġbuild Caps ule Planes ( radius : ĠDouble , Ġheight : ĠDouble , Ġsides : ĠLong , Ġl ats : ĠLong , Ġaxis : ĠLong Ġ= Ġ 2 ): ĠG D Array Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġ_ ic all _ GD Array _ Double _ Double _ Long _ Long _ Long ( build Caps ule Planes Method Bind , Ġthis . raw Memory , Ġradius , Ġheight , Ġsides , Ġl ats , Ġaxis ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġsegment Intersect s Circle Method Bind : ĠC Pointer < godot _ method _ bind > Ġby Ġlazy Ġ{ Ġget MB ("_ Geometry ", Ġ" segment _ intersect s _ circle ") Ġ} ĊĠĠĠĠĠĠĠ Ġfun Ġsegment Intersect s Circle ( segment From : ĠVector 2 , Ġsegment To : ĠVector 2 , Ġcircle Position : ĠVector 2 , Ġcircle Radius : ĠDouble ): ĠDouble Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġ_ ic all _ Double _ Vector 2 _ Vector 2 _ Vector 2 _ Double ( segment Intersect s Circle Method Bind , Ġthis . raw Memory , Ġsegment From , Ġsegment To , Ġcircle Position , Ġcircle Radius ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġsegment Intersect s Segment 2 d Method Bind : ĠC Pointer < godot _ method _ bind > Ġby Ġlazy Ġ{ Ġget MB ("_ Geometry ", Ġ" segment _ intersect s _ segment _ 2 d ") Ġ} ĊĠĠĠĠĠĠĠ Ġfun Ġsegment Intersect s Segment 2 d ( from A : ĠVector 2 , Ġto A : ĠVector 2 , Ġfrom B : ĠVector 2 , Ġto B : ĠVector 2 ): ĠVariant Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġ_ ic all _ Variant _ Vector 2 _ Vector 2 _ Vector 2 _ Vector 2 ( segment Intersect s Segment 2 d Method Bind , Ġthis . raw Memory , Ġfrom A , Ġto A , Ġfrom B , Ġto B ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġline Intersect s Line 2 d Method Bind : ĠC Pointer < godot _ method _ bind > Ġby Ġlazy Ġ{ Ġget MB ("_ Geometry ", Ġ" line _ intersect s _ line _ 2 d ") Ġ} ĊĠĠĠĠĠĠĠ Ġfun Ġline Intersect s Line 2 d ( from A : ĠVector 2 , Ġdir A : ĠVector 2 , Ġfrom B : ĠVector 2 , Ġdir B : ĠVector 2 ): ĠVariant Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġ_ ic all _ Variant _ Vector 2 _ Vector 2 _ Vector 2 _ Vector 2 ( line Intersect s Line 2 d Method Bind , Ġthis . raw Memory , Ġfrom A , Ġdir A , Ġfrom B , Ġdir B ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġget Closest Points Between Segments 2 d Method Bind : ĠC Pointer < godot _ method _ bind > Ġby Ġlazy Ġ{ Ġget MB ("_ Geometry ", Ġ" get _ closest _ points _ between _ segments _ 2 d ") Ġ} ĊĠĠĠĠĠĠĠ Ġfun Ġget Closest Points Between Segments 2 d ( p 1 : ĠVector 2 , Ġq 1 : ĠVector 2 , Ġp 2 : ĠVector 2 , Ġq 2 : ĠVector 2 ): ĠPool Vector 2 Array Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġ_ ic all _ Pool Vector 2 Array _ Vector 2 _ Vector 2 _ Vector 2 _ Vector 2 ( get Closest Points Between Segments 2 d Method Bind , Ġthis . raw Memory , Ġp 1 , Ġq 1 , Ġp 2 , Ġq 2 ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġget Closest Points Between Segments Method Bind : ĠC Pointer < godot _ method _ bind > Ġby Ġlazy Ġ{ Ġget MB ("_ Geometry ", Ġ" get _ closest _ points _ between _ segments ") Ġ} ĊĠĠĠĠĠĠĠ Ġfun Ġget Closest Points Between Segments ( p 1 : ĠVector 3 , Ġp 2 : ĠVector 3 , Ġq 1 : ĠVector 3 , Ġq 2 : ĠVector 3 ): ĠPool Vector 3 Array Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġ_ ic all _ Pool Vector 3 Array _ Vector 3 _ Vector 3 _ Vector 3 _ Vector 3 ( get Closest Points Between Segments Method Bind , Ġthis . raw Memory , Ġp 1 , Ġp 2 , Ġq 1 , Ġq 2 ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġget Closest Point To Segment 2 d Method Bind : ĠC Pointer < godot _ method _ bind > Ġby Ġlazy Ġ{ Ġget MB ("_ Geometry ", Ġ" get _ closest _ point _ to _ segment _ 2 d ") Ġ} ĊĠĠĠĠĠĠĠ Ġfun Ġget Closest Point To Segment 2 d ( point : ĠVector 2 , Ġs 1 : ĠVector 2 , Ġs 2 : ĠVector 2 ): ĠVector 2 Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġ_ ic all _ Vector 2 _ Vector 2 _ Vector 2 _ Vector 2 ( get Closest Point To Segment 2 d Method Bind , Ġthis . raw Memory , Ġpoint , Ġs 1 , Ġs 2 ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġget Closest Point To Segment Method Bind : ĠC Pointer < godot _ method _ bind > Ġby Ġlazy Ġ{ Ġget MB ("_ Geometry ", Ġ" get _ closest _ point _ to _ segment ") Ġ} ĊĠĠĠĠĠĠĠ Ġfun Ġget Closest Point To Segment ( point : ĠVector 3 , Ġs 1 : ĠVector 3 , Ġs 2 : ĠVector 3 ): ĠVector 3 Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġ_ ic all _ Vector 3 _ Vector 3 _ Vector 3 _ Vector 3 ( get Closest Point To Segment Method Bind , Ġthis . raw Memory , Ġpoint , Ġs 1 , Ġs 2 ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġget Closest Point To Segment Un c apped 2 d Method Bind : ĠC Pointer < godot _ method _ bind > Ġby Ġlazy Ġ{ Ġget MB ("_ Geometry ", Ġ" get _ closest _ point _ to _ segment _ unc apped _ 2 d ") Ġ} ĊĠĠĠĠĠĠĠ Ġfun Ġget Closest Point To Segment Un c apped 2 d ( point : ĠVector 2 , Ġs 1 : ĠVector 2 , Ġs 2 : ĠVector 2 ): ĠVector 2 Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġ_ ic all _ Vector 2 _ Vector 2 _ Vector 2 _ Vector 2 ( get Closest Point To Segment Un c apped 2 d Method Bind , Ġthis . raw Memory , Ġpoint , Ġs 1 , Ġs 2 ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġget Closest Point To Segment Un c apped Method Bind : ĠC Pointer < godot _ method _ bind > Ġby Ġlazy Ġ{ Ġget MB ("_ Geometry ", Ġ" get _ closest _ point _ to _ segment _ unc apped ") Ġ} ĊĠĠĠĠĠĠĠ Ġfun Ġget Closest Point To Segment Un c apped ( point : ĠVector 3 , Ġs 1 : ĠVector 3 , Ġs 2 : ĠVector 3 ): ĠVector 3 Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġ_ ic all _ Vector 3 _ Vector 3 _ Vector 3 _ Vector 3 ( get Closest Point To Segment Un c apped Method Bind , Ġthis . raw Memory , Ġpoint , Ġs 1 , Ġs 2 ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġget Uv 8 4 Normal Bit Method Bind : ĠC Pointer < godot _ method _ bind > Ġby Ġlazy Ġ{ Ġget MB ("_ Geometry ", Ġ" get _ uv 8 4 _ normal _ bit ") Ġ} ĊĠĠĠĠĠĠĠ Ġfun Ġget Uv 8 4 Normal Bit ( normal : ĠVector 3 ): ĠLong Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġ_ ic all _ Long _ Vector 3 ( get Uv 8 4 Normal Bit Method Bind , Ġthis . raw Memory , Ġnormal ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġray Intersect s Triangle Method Bind : ĠC Pointer < godot _ method _ bind > Ġby Ġlazy Ġ{ Ġget MB ("_ Geometry ", Ġ" ray _ intersect s _ triangle ") Ġ} ĊĠĠĠĠĠĠĠ Ġfun Ġray Intersect s Triangle ( from : ĠVector 3 , Ġdir : ĠVector 3 , Ġa : ĠVector 3 , Ġb : ĠVector 3 , Ġc : ĠVector 3 ): ĠVariant Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġ_ ic all _ Variant _ Vector 3 _ Vector 3 _ Vector 3 _ Vector 3 _ Vector 3 ( ray Intersect s Triangle Method Bind , Ġthis . raw Memory , Ġfrom , Ġdir , Ġa , Ġb , Ġc ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġsegment Intersect s Triangle Method Bind : ĠC Pointer < godot _ method _ bind > Ġby Ġlazy Ġ{ Ġget MB ("_ Geometry ", Ġ" segment _ intersect s _ triangle ") Ġ} ĊĠĠĠĠĠĠĠ Ġfun Ġsegment Intersect s Triangle ( from : ĠVector 3 , Ġto : ĠVector 3 , Ġa : ĠVector 3 , Ġb : ĠVector 3 , Ġc : ĠVector 3 ): ĠVariant Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġ_ ic all _ Variant _ Vector 3 _ Vector 3 _ Vector 3 _ Vector 3 _ Vector 3 ( segment Intersect s Triangle Method Bind , Ġthis . raw Memory , Ġfrom , Ġto , Ġa , Ġb , Ġc ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġsegment Intersect s Sphere Method Bind : ĠC Pointer < godot _ method _ bind > Ġby Ġlazy Ġ{ Ġget MB ("_ Geometry ", Ġ" segment _ intersect s _ sphere ") Ġ} ĊĠĠĠĠĠĠĠ Ġfun Ġsegment Intersect s Sphere ( from : ĠVector 3 , Ġto : ĠVector 3 , Ġsphere Position : ĠVector 3 , Ġsphere Radius : ĠDouble ): ĠPool Vector 3 Array Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġ_ ic all _ Pool Vector 3 Array _ Vector 3 _ Vector 3 _ Vector 3 _ Double ( segment Intersect s Sphere Method Bind , Ġthis . raw Memory , Ġfrom , Ġto , Ġsphere Position , Ġsphere Radius ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġsegment Intersect s Cy linder Method Bind : ĠC Pointer < godot _ method _ bind > Ġby Ġlazy Ġ{ Ġget MB ("_ Geometry ", Ġ" segment _ intersect s _ cy linder ") Ġ} ĊĠĠĠĠĠĠĠ Ġfun Ġsegment Intersect s Cy linder ( from : ĠVector 3 , Ġto : ĠVector 3 , Ġheight : ĠDouble , Ġradius : ĠDouble ): ĠPool Vector 3 Array Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġ_ ic all _ Pool Vector 3 Array _ Vector 3 _ Vector 3 _ Double _ Double ( segment Intersect s Cy linder Method Bind , Ġthis . raw Memory , Ġfrom , Ġto , Ġheight , Ġradius ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġsegment Intersect s Convex Method Bind : ĠC Pointer < godot _ method _ bind > Ġby Ġlazy Ġ{ Ġget MB ("_ Geometry ", Ġ" segment _ intersect s _ conv ex ") Ġ} ĊĠĠĠĠĠĠĠ Ġfun Ġsegment Intersect s Convex ( from : ĠVector 3 , Ġto : ĠVector 3 , Ġplanes : ĠG D Array ): ĠPool Vector 3 Array Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġ_ ic all _ Pool Vector 3 Array _ Vector 3 _ Vector 3 _ GD Array ( segment Intersect s Convex Method Bind , Ġthis . raw Memory , Ġfrom , Ġto , Ġplanes ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġpoint IsIn side Triangle Method Bind : ĠC Pointer < godot _ method _ bind > Ġby Ġlazy Ġ{ Ġget MB ("_ Geometry ", Ġ" point _ is _ inside _ triangle ") Ġ} ĊĠĠĠĠĠĠĠ Ġfun Ġpoint IsIn side Triangle ( point : ĠVector 2 , Ġa : ĠVector 2 , Ġb : ĠVector 2 , Ġc : ĠVector 2 ): ĠBoolean Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġ_ ic all _ Boolean _ Vector 2 _ Vector 2 _ Vector 2 _ Vector 2 ( point IsIn side Triangle Method Bind , Ġthis . raw Memory , Ġpoint , Ġa , Ġb , Ġc ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġtri ang ulate Polygon Method Bind : ĠC Pointer < godot _ method _ bind > Ġby Ġlazy Ġ{ Ġget MB ("_ Geometry ", Ġ" tri ang ulate _ polygon ") Ġ} ĊĠĠĠĠĠĠĠ Ġfun Ġtri ang ulate Polygon ( polygon : ĠPool Vector 2 Array ): ĠPool IntArray Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġ_ ic all _ Pool IntArray _ Pool Vector 2 Array ( tri ang ulate Polygon Method Bind , Ġthis . raw Memory , Ġpolygon ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġconvex H ull 2 d Method Bind : ĠC Pointer < godot _ method _ bind > Ġby Ġlazy Ġ{ Ġget MB ("_ Geometry ", Ġ" conv ex _ hull _ 2 d ") Ġ} ĊĠĠĠĠĠĠĠ Ġfun Ġconvex H ull 2 d ( points : ĠPool Vector 2 Array ): ĠPool Vector 2 Array Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġ_ ic all _ Pool Vector 2 Array _ Pool Vector 2 Array ( conv ex H ull 2 d Method Bind , Ġthis . raw Memory , Ġpoints ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġclip Polygon Method Bind : ĠC Pointer < godot _ method _ bind > Ġby Ġlazy Ġ{ Ġget MB ("_ Geometry ", Ġ" clip _ polygon ") Ġ} ĊĠĠĠĠĠĠĠ Ġfun Ġclip Polygon ( points : ĠPool Vector 3 Array , Ġplane : ĠPlane ): ĠPool Vector 3 Array Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġ_ ic all _ Pool Vector 3 Array _ Pool Vector 3 Array _ Plane ( clip Polygon Method Bind , Ġthis . raw Memory , Ġpoints , Ġplane ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġmake Atlas Method Bind : ĠC Pointer < godot _ method _ bind > Ġby Ġlazy Ġ{ Ġget MB ("_ Geometry ", Ġ" make _ atlas ") Ġ} ĊĠĠĠĠĠĠĠ Ġfun Ġmake Atlas ( sizes : ĠPool Vector 2 Array ): ĠDictionary Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġ_ ic all _ Dictionary _ Pool Vector 2 Array ( make Atlas Method Bind , Ġthis . raw Memory , Ġsizes ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĊĠĠĠ Ġ} Ċ } Ċ