var searchIndex = {}; searchIndex["euclid"] = {"doc":"","items":[[0,"approxeq","euclid","",null,null],[8,"ApproxEq","euclid::approxeq","Trait for testing approximate equality",null,null],[10,"approx_epsilon","","",0,{"inputs":[],"output":{"name":"eps"}}],[10,"approx_eq","","",0,null],[10,"approx_eq_eps","","",0,null],[0,"length","euclid","A one-dimensional length, tagged with its units.",null,null],[3,"Length","euclid::length","A one-dimensional distance, with value represented by `T` and unit of measurement `Unit`.",null,null],[12,"0","","",1,null],[11,"fmt","","",1,null],[11,"encode","","",1,null],[11,"decode","","",1,{"inputs":[{"name":"__dunitt"}],"output":{"name":"result"}}],[11,"new","","",1,{"inputs":[{"name":"t"}],"output":{"name":"length"}}],[11,"get","","",1,null],[11,"add","","",1,null],[11,"sub","","",1,null],[11,"div","","",1,null],[11,"mul","","",1,null],[11,"div","","",1,null],[11,"neg","","",1,null],[11,"cast","","Cast from one numeric representation to another, preserving the units.",1,null],[11,"clone","","",1,null],[11,"eq","","",1,null],[11,"partial_cmp","","",1,null],[11,"cmp","","",1,null],[11,"zero","","",1,{"inputs":[],"output":{"name":"length"}}],[0,"matrix","euclid","",null,null],[3,"Matrix4","euclid::matrix","",null,null],[12,"m11","","",2,null],[12,"m12","","",2,null],[12,"m13","","",2,null],[12,"m14","","",2,null],[12,"m21","","",2,null],[12,"m22","","",2,null],[12,"m23","","",2,null],[12,"m24","","",2,null],[12,"m31","","",2,null],[12,"m32","","",2,null],[12,"m33","","",2,null],[12,"m34","","",2,null],[12,"m41","","",2,null],[12,"m42","","",2,null],[12,"m43","","",2,null],[12,"m44","","",2,null],[11,"eq","","",2,null],[11,"ne","","",2,null],[11,"clone","","",2,null],[11,"fmt","","",2,null],[11,"new","","",2,{"inputs":[{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"}],"output":{"name":"matrix4"}}],[11,"ortho","","",2,{"inputs":[{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"}],"output":{"name":"matrix4"}}],[11,"identity","","",2,{"inputs":[],"output":{"name":"matrix4"}}],[11,"approx_eq","","",2,null],[11,"mul","","",2,null],[11,"invert","","",2,null],[11,"determinant","","",2,null],[11,"mul_s","","",2,null],[11,"scale","","",2,null],[11,"transform_point","","Returns the given point transformed by this matrix.",2,null],[11,"transform_point4d","","",2,null],[11,"to_array","","",2,null],[11,"translate","","",2,null],[11,"create_translation","","Create a 3d translation matrix",2,{"inputs":[{"name":"f32"},{"name":"f32"},{"name":"f32"}],"output":{"name":"matrix4"}}],[11,"create_scale","","Create a 3d scale matrix",2,{"inputs":[{"name":"f32"},{"name":"f32"},{"name":"f32"}],"output":{"name":"matrix4"}}],[11,"create_rotation","","Create a 3d rotation matrix from an angle / axis.\nThe supplied axis must be normalized.",2,{"inputs":[{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"}],"output":{"name":"matrix4"}}],[11,"create_skew","","Create a 2d skew matrix.\nhttps://drafts.csswg.org/css-transforms/#funcdef-skew",2,{"inputs":[{"name":"f32"},{"name":"f32"}],"output":{"name":"matrix4"}}],[11,"create_perspective","","Create a simple perspective projection matrix",2,{"inputs":[{"name":"f32"}],"output":{"name":"matrix4"}}],[0,"matrix2d","euclid","",null,null],[3,"Matrix2D","euclid::matrix2d","",null,null],[11,"clone","","",3,null],[11,"new","","",3,{"inputs":[{"name":"t"},{"name":"t"},{"name":"t"},{"name":"t"},{"name":"t"},{"name":"t"}],"output":{"name":"matrix2d"}}],[11,"mul","","",3,null],[11,"translate","","",3,null],[11,"scale","","",3,null],[11,"identity","","",3,{"inputs":[],"output":{"name":"matrix2d"}}],[11,"to_array","","",3,null],[11,"transform_point","","Returns the given point transformed by this matrix.",3,null],[11,"transform_rect","","Returns a rectangle that encompasses the result of transforming the given rectangle by this\nmatrix.",3,null],[0,"num","euclid","A one-dimensional length, tagged with its units.",null,null],[8,"Zero","euclid::num","",null,null],[10,"zero","","",4,{"inputs":[],"output":{"name":"self"}}],[8,"One","","",null,null],[10,"one","","",5,{"inputs":[],"output":{"name":"self"}}],[0,"point","euclid","",null,null],[3,"Point2D","euclid::point","",null,null],[12,"x","","",6,null],[12,"y","","",6,null],[3,"Point3D","","",null,null],[12,"x","","",7,null],[12,"y","","",7,null],[12,"z","","",7,null],[3,"Point4D","","",null,null],[12,"x","","",8,null],[12,"y","","",8,null],[12,"z","","",8,null],[12,"w","","",8,null],[6,"TypedPoint2D","","",null,null],[11,"eq","","",6,null],[11,"ne","","",6,null],[11,"hash","","",6,null],[11,"encode","","",6,null],[11,"decode","","",6,{"inputs":[{"name":"__dt"}],"output":{"name":"result"}}],[11,"clone","","",6,null],[11,"zero","","",6,{"inputs":[],"output":{"name":"point2d"}}],[11,"fmt","","",6,null],[11,"fmt","","",6,null],[11,"new","","",6,{"inputs":[{"name":"t"},{"name":"t"}],"output":{"name":"point2d"}}],[11,"dot","","",6,null],[11,"cross","","",6,null],[11,"add","","",6,null],[11,"add","","",6,null],[11,"add_size","","",6,null],[11,"sub","","",6,null],[11,"neg","","",6,null],[11,"min","","",6,null],[11,"max","","",6,null],[11,"mul","","",6,null],[11,"div","","",6,null],[11,"typed","","",9,{"inputs":[{"name":"t"},{"name":"t"}],"output":{"name":"typedpoint2d"}}],[11,"to_untyped","","Drop the units, preserving only the numeric value.",9,null],[11,"from_untyped","","Tag a unitless value with units.",9,{"inputs":[{"name":"point2d"}],"output":{"name":"typedpoint2d"}}],[11,"cast","","Cast from one numeric representation to another, preserving the units.",6,null],[11,"as_f32","","",6,null],[11,"as_uint","","",6,null],[11,"eq","","",7,null],[11,"ne","","",7,null],[11,"hash","","",7,null],[11,"encode","","",7,null],[11,"decode","","",7,{"inputs":[{"name":"__dt"}],"output":{"name":"result"}}],[11,"clone","","",7,null],[11,"zero","","",7,{"inputs":[],"output":{"name":"point3d"}}],[11,"fmt","","",7,null],[11,"fmt","","",7,null],[11,"new","","",7,{"inputs":[{"name":"t"},{"name":"t"},{"name":"t"}],"output":{"name":"point3d"}}],[11,"dot","","",7,null],[11,"cross","","",7,null],[11,"add","","",7,null],[11,"sub","","",7,null],[11,"neg","","",7,null],[11,"min","","",7,null],[11,"max","","",7,null],[11,"eq","","",8,null],[11,"ne","","",8,null],[11,"hash","","",8,null],[11,"encode","","",8,null],[11,"decode","","",8,{"inputs":[{"name":"__dt"}],"output":{"name":"result"}}],[11,"clone","","",8,null],[11,"zero","","",8,{"inputs":[],"output":{"name":"point4d"}}],[11,"fmt","","",8,null],[11,"fmt","","",8,null],[11,"new","","",8,{"inputs":[{"name":"t"},{"name":"t"},{"name":"t"},{"name":"t"}],"output":{"name":"point4d"}}],[11,"add","","",8,null],[11,"sub","","",8,null],[11,"neg","","",8,null],[11,"min","","",8,null],[11,"max","","",8,null],[0,"rect","euclid","",null,null],[3,"Rect","euclid::rect","",null,null],[12,"origin","","",10,null],[12,"size","","",10,null],[5,"min","","",null,{"inputs":[{"name":"t"},{"name":"t"}],"output":{"name":"t"}}],[5,"max","","",null,{"inputs":[{"name":"t"},{"name":"t"}],"output":{"name":"t"}}],[6,"TypedRect","","",null,null],[11,"eq","","",10,null],[11,"ne","","",10,null],[11,"encode","","",10,null],[11,"decode","","",10,{"inputs":[{"name":"__dt"}],"output":{"name":"result"}}],[11,"clone","","",10,null],[11,"fmt","","",10,null],[11,"fmt","","",10,null],[11,"new","","",10,{"inputs":[{"name":"point2d"},{"name":"size2d"}],"output":{"name":"rect"}}],[11,"intersects","","",10,null],[11,"max_x","","",10,null],[11,"min_x","","",10,null],[11,"max_y","","",10,null],[11,"min_y","","",10,null],[11,"intersection","","",10,null],[11,"translate","","",10,null],[11,"contains","","",10,null],[11,"inflate","","",10,null],[11,"top_right","","",10,null],[11,"bottom_left","","",10,null],[11,"bottom_right","","",10,null],[11,"translate_by_size","","",10,null],[11,"union","","",10,null],[11,"scale","","",10,null],[11,"zero","","",10,{"inputs":[],"output":{"name":"rect"}}],[11,"is_empty","","",10,null],[11,"mul","","",10,null],[11,"div","","",10,null],[11,"to_untyped","","Drop the units, preserving only the numeric value.",10,null],[11,"from_untyped","","Tag a unitless value with units.",10,{"inputs":[{"name":"rect"}],"output":{"name":"typedrect"}}],[11,"cast","","Cast from one numeric representation to another, preserving the units.",10,null],[11,"as_f32","","",10,null],[11,"as_uint","","",10,null],[0,"scale_factor","euclid","A type-checked scaling factor between units.",null,null],[3,"ScaleFactor","euclid::scale_factor","A scaling factor between two different units of measurement.",null,null],[12,"0","","",11,null],[11,"fmt","","",11,null],[11,"encode","","",11,null],[11,"decode","","",11,{"inputs":[{"name":"__dsrcdstt"}],"output":{"name":"result"}}],[11,"new","","",11,{"inputs":[{"name":"t"}],"output":{"name":"scalefactor"}}],[11,"get","","",11,null],[11,"inv","","The inverse ScaleFactor (1.0 / self).",11,null],[11,"mul","","",11,null],[11,"add","","",11,null],[11,"sub","","",11,null],[11,"cast","","Cast from one numeric representation to another, preserving the units.",11,null],[11,"eq","","",11,null],[11,"clone","","",11,null],[0,"side_offsets","euclid","A group of side offsets, which correspond to top/left/bottom/right for borders, padding,\nand margins in CSS.",null,null],[3,"SideOffsets2D","euclid::side_offsets","A group of side offsets, which correspond to top/left/bottom/right for borders, padding,\nand margins in CSS.",null,null],[12,"top","","",12,null],[12,"right","","",12,null],[12,"bottom","","",12,null],[12,"left","","",12,null],[11,"fmt","","",12,null],[11,"eq","","",12,null],[11,"ne","","",12,null],[11,"clone","","",12,null],[11,"new","","",12,{"inputs":[{"name":"t"},{"name":"t"},{"name":"t"},{"name":"t"}],"output":{"name":"sideoffsets2d"}}],[11,"new_all_same","","",12,{"inputs":[{"name":"t"}],"output":{"name":"sideoffsets2d"}}],[11,"horizontal","","",12,null],[11,"vertical","","",12,null],[11,"add","","",12,null],[11,"zero","","",12,{"inputs":[],"output":{"name":"sideoffsets2d"}}],[0,"size","euclid","",null,null],[3,"Size2D","euclid::size","",null,null],[12,"width","","",13,null],[12,"height","","",13,null],[6,"TypedSize2D","","",null,null],[11,"eq","","",13,null],[11,"ne","","",13,null],[11,"encode","","",13,null],[11,"decode","","",13,{"inputs":[{"name":"__dt"}],"output":{"name":"result"}}],[11,"clone","","",13,null],[11,"fmt","","",13,null],[11,"fmt","","",13,null],[11,"new","","",13,{"inputs":[{"name":"t"},{"name":"t"}],"output":{"name":"size2d"}}],[11,"area","","",13,null],[11,"zero","","",13,{"inputs":[],"output":{"name":"size2d"}}],[11,"zero","","",13,{"inputs":[],"output":{"name":"size2d"}}],[11,"mul","","",13,null],[11,"div","","",13,null],[11,"typed","","",13,{"inputs":[{"name":"t"},{"name":"t"}],"output":{"name":"typedsize2d"}}],[11,"to_untyped","","Drop the units, preserving only the numeric value.",13,null],[11,"from_untyped","","Tag a unitless value with units.",13,{"inputs":[{"name":"size2d"}],"output":{"name":"typedsize2d"}}],[11,"cast","","Cast from one numeric representation to another, preserving the units.",13,null],[11,"as_f32","","",13,null],[11,"as_uint","","",13,null]],"paths":[[8,"ApproxEq"],[3,"Length"],[3,"Matrix4"],[3,"Matrix2D"],[8,"Zero"],[8,"One"],[3,"Point2D"],[3,"Point3D"],[3,"Point4D"],[6,"TypedPoint2D"],[3,"Rect"],[3,"ScaleFactor"],[3,"SideOffsets2D"],[3,"Size2D"]]}; initSearch(searchIndex);