Sign In
Docs
  • Zoo Design Studio
  • Zoo Developer Tools
  • KCL Book
  • KCL Samples
  • KCL Language Reference
  • KCL Standard Library
    • Functions
    • Types
      • AnnotationStyle
      • any
      • Axis2d
      • Axis3d
      • bool
      • cm
      • deg
      • Edge
      • Face
      • fn
      • ft
      • Helix
      • ImportedGeometry
      • in
      • m
      • mm
      • none
      • number
      • Plane
      • Point2d
      • Point3d
      • rad
      • Sketch
      • Solid
      • string
      • tag
      • TagDecl
      • TaggedEdge
      • TaggedFace
      • yd
    • Modules
    • Consts
  • Glossary
  • FAQ
  • Enterprise
kcl-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].

Found a typo?
Zoo

8701 Aviation Blvd

Inglewood, California 90301

    Product
  • Zoo Design Studio
  • Text-to-CAD
  • Download App
  • Release Notes
    Company
  • Careers
  • Research
  • Blog
  • Contact sales
    Pricing
  • Zoo Design Pricing
  • API Pricing
    Resources
  • Tutorials
  • Developers
  • Support
  • Terms & Conditions
  • Privacy Policy
  • Security
  • Trust Center

Copyright © 2025 ZOO CORPORATION All rights reserved.