#############
API Reference
#############


*********************
Geometry Construction
*********************

PolygonSet
==========

.. autoclass:: gdspy.PolygonSet
   :members:
   :inherited-members:
   :show-inheritance:


Polygon
=======

.. autoclass:: gdspy.Polygon
   :members:
   :inherited-members:
   :show-inheritance:


Rectangle
=========

.. autoclass:: gdspy.Rectangle
   :members:
   :inherited-members:
   :show-inheritance:


Round
=====

.. autoclass:: gdspy.Round
   :members:
   :inherited-members:
   :show-inheritance:


Text
====

.. autoclass:: gdspy.Text
   :members:
   :inherited-members:
   :show-inheritance:


Path
====

.. autoclass:: gdspy.Path
   :members:
   :inherited-members:
   :show-inheritance:


PolyPath
========

.. autoclass:: gdspy.PolyPath
   :members:
   :inherited-members:
   :show-inheritance:


L1Path
======

.. autoclass:: gdspy.L1Path
   :members:
   :inherited-members:
   :show-inheritance:


FlexPath
========

.. autoclass:: gdspy.FlexPath
   :members:
   :inherited-members:
   :show-inheritance:


RobustPath
==========

.. autoclass:: gdspy.RobustPath
   :members:
   :inherited-members:
   :show-inheritance:


Curve
=====

.. autoclass:: gdspy.Curve
   :members:
   :inherited-members:
   :show-inheritance:


Label
=====

.. autoclass:: gdspy.Label
   :members:
   :inherited-members:
   :show-inheritance:


boolean
=======

.. autofunction:: gdspy.boolean


offset
======

.. autofunction:: gdspy.offset


slice
=====

.. autofunction:: gdspy.slice


inside
======

.. autofunction:: gdspy.inside


copy
====

.. autofunction:: gdspy.copy


*************
GDSII Library
*************

Cell
====

.. autoclass:: gdspy.Cell
   :members:
   :inherited-members:
   :show-inheritance:


CellReference
=============

.. autoclass:: gdspy.CellReference
   :members:
   :inherited-members:
   :show-inheritance:


CellArray
=========

.. autoclass:: gdspy.CellArray
   :members:
   :inherited-members:
   :show-inheritance:


GdsLibrary
==========

.. autoclass:: gdspy.GdsLibrary
   :members:
   :inherited-members:
   :show-inheritance:


GdsWriter
=========

.. autoclass:: gdspy.GdsWriter
   :members:
   :inherited-members:
   :show-inheritance:


LayoutViewer
============

.. autoclass:: gdspy.LayoutViewer
   :members:
   :no-inherited-members:
   :no-show-inheritance:


write_gds
=========

.. autofunction:: gdspy.write_gds


gdsii_hash
==========

.. autofunction:: gdspy.gdsii_hash


get_binary_cells
================

.. autofunction:: gdspy.get_binary_cells


current_library
===============

.. autodata:: gdspy.current_library
