Sign up
      Docs
      • Zoo Design Studio
      • Zoo Developer Tools
      • KCL Language Reference
      • KCL Standard Library
        • ::appearance
        • ::array
        • ::math
        • ::sketch
        • ::solid
        • ::sweep
        • ::transform
        • ::turns
        • ::types
          • any
          • Axis2d
          • Axis3d
          • bool
          • Edge
          • Face
          • fn
          • Helix
          • ImportedGeometry
          • number
          • Plane
          • Point2d
          • Point3d
          • Sketch
          • Solid
          • string
          • tag
        • ::units
        • appearance
        • assert
        • assertIs
        • clone
        • END
        • helix
        • offsetPlane
        • patternLinear2d
        • START
        • X
        • XY
        • XZ
        • Y
        • YZ
        • Z
      • KCL Book
      • KCL Samples
      • Glossary
      • FAQ
      KCL Library Reference → std → types → Point2d

      Point2dType in std::types

      A point in two dimensional space.

      type Point2d = [number(Length); 2]
      

      Point2d is an alias for a two-element array of numbers. To write a value with type Point2d, use an array, e.g., [0, 0] or [5.0, 3.14].