﻿gdsfactory.cross\_section.Section
=================================

.. currentmodule:: gdsfactory.cross_section

.. autoclass:: Section

   
   .. automethod:: __init__

   
   .. rubric:: Methods

   .. autosummary::
   
      ~Section.__init__
      ~Section.construct
      ~Section.copy
      ~Section.dict
      ~Section.from_orm
      ~Section.generate_default_name
      ~Section.json
      ~Section.model_construct
      ~Section.model_copy
      ~Section.model_dump
      ~Section.model_dump_json
      ~Section.model_json_schema
      ~Section.model_parametrized_name
      ~Section.model_post_init
      ~Section.model_rebuild
      ~Section.model_validate
      ~Section.model_validate_json
      ~Section.model_validate_strings
      ~Section.parse_file
      ~Section.parse_obj
      ~Section.parse_raw
      ~Section.schema
      ~Section.schema_json
      ~Section.serialize_offset_function
      ~Section.serialize_width_function
      ~Section.update_forward_refs
      ~Section.validate
   
   

   
   
   .. rubric:: Attributes

   .. autosummary::
   
      ~Section.model_computed_fields
      ~Section.model_config
      ~Section.model_extra
      ~Section.model_fields
      ~Section.model_fields_set
      ~Section.width
      ~Section.offset
      ~Section.insets
      ~Section.layer
      ~Section.port_names
      ~Section.port_types
      ~Section.name
      ~Section.hidden
      ~Section.simplify
      ~Section.width_function
      ~Section.offset_function
   
   