ZLayout EDA Library v1.0.0
Advanced Electronic Design Automation Layout Library with Bilingual Documentation
Loading...
Searching...
No Matches
basic_usage.cpp File Reference

Basic usage example of ZLayout C++ library. More...

#include <iostream>
#include <vector>
#include <chrono>
#include <iomanip>
#include <zlayout/zlayout.hpp>
Include dependency graph for basic_usage.cpp:

Go to the source code of this file.

Functions

void print_separator (const std::string &title)
void demonstrate_basic_geometry ()
void demonstrate_sharp_angle_detection ()
void demonstrate_narrow_distance_detection ()
void demonstrate_quadtree_intersection_detection ()
void demonstrate_eda_design_rules ()
int main ()

Detailed Description

Basic usage example of ZLayout C++ library.

Demonstrates the three core interview problems:

  1. Sharp angle detection in polygons
  2. Narrow distance detection between edges
  3. Quadtree-optimized edge intersection detection

Definition in file basic_usage.cpp.

Function Documentation

◆ demonstrate_basic_geometry()

void demonstrate_basic_geometry ( )

Definition at line 27 of file basic_usage.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ demonstrate_eda_design_rules()

void demonstrate_eda_design_rules ( )

Definition at line 265 of file basic_usage.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ demonstrate_narrow_distance_detection()

void demonstrate_narrow_distance_detection ( )

Definition at line 110 of file basic_usage.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ demonstrate_quadtree_intersection_detection()

void demonstrate_quadtree_intersection_detection ( )

Definition at line 168 of file basic_usage.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ demonstrate_sharp_angle_detection()

void demonstrate_sharp_angle_detection ( )

Definition at line 58 of file basic_usage.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

int main ( )

Definition at line 363 of file basic_usage.cpp.

Here is the call graph for this function:

◆ print_separator()

void print_separator ( const std::string & title)

Definition at line 21 of file basic_usage.cpp.

Here is the caller graph for this function: