Docs
Enterprise
Sign In
  • Zoo Design Studio
  • Zoo Developer Tools
  • KCL
    • KCL Book
    • KCL Language Reference
    • KCL Standard Library
  • Glossary
  • FAQ
Docs Home
/
KCL Standard Library
/
Functions
/
Std Solver Distance

solver::distanceFunction in std::solver

Constrain the distance between two points.

Arguments

NameTypeDescriptionRequired
points[Segment or Point2d; 2]Two sketch points, or one sketch point and ORIGIN, whose separation should match the value set with ==.Yes

Examples

Found a typo?
Zoo

8701 Aviation Blvd

Inglewood, California 90301

    Product
  • Zoo Design Studio
  • Zookeeper
  • Download App
  • Release Notes
  • Roadmap
    Company
  • Enterprise
  • Careers
  • Research
  • Blog
  • Contact us
    Pricing
  • Zoo Design Pricing
  • API Pricing
    Resources
  • Tutorials
  • Developers
  • Support
  • Terms & Conditions
  • Privacy Policy
  • Security
  • Trust Center

Copyright © 2026 ZOO CORPORATION All rights reserved.