# PLaSK User Manual

#### Page Contents

- Triangular2D Class
  - `Triangular2D`
  - Subclasses
  - Methods
  - Attributes
  - Descriptions
    - Method Details
      - `Triangular2D.Bottom()`
      - `Triangular2D.BottomOf()`
      - `Triangular2D.Edge()`
      - `Triangular2D.EdgeOf()`
      - `Triangular2D.Left()`
      - `Triangular2D.LeftOf()`
      - `Triangular2D.Right()`
      - `Triangular2D.RightOf()`
      - `Triangular2D.Top()`
      - `Triangular2D.TopOf()`
    - Attribute Details
      - `Triangular2D.dim`
      - `Triangular2D.elements`

# Triangular2D Class

class plask.mesh.Triangular2D

  Two-dimensional triangular mesh

## Subclasses

`Builder` | Allows for adding triangles to the `mesh.Triangular2D` effectively
`Element` | Element (FEM-like, triangle) of the `mesh.Triangular2D`
`Elements` | Element list in the `mesh.Triangular2D`

## Methods

`Bottom`() | Bottom edge of the mesh for setting boundary conditions
`BottomOf`(object[, path]) | Boundary bottom of specified object
`Edge`() | Whole edge (outer and inner) of the mesh for setting boundary conditions
`EdgeOf`(object[, path]) | Edge of specified object (and edge of mesh holes inside the object)
`Left`() | Left edge of the mesh for setting boundary conditions
`LeftOf`(object[, path]) | Boundary left of specified object
`Right`() | Right edge of the mesh for setting boundary conditions
`RightOf`(object[, path]) | Boundary right of specified object
`Top`() | Top edge of the mesh for setting boundary conditions
`TopOf`(object[, path]) | Boundary top of specified object

## Attributes

`dim` |
`elements` | Element list in the mesh

## Descriptions

### Method Details

Triangular2D.Bottom()

  Bottom edge of the mesh for setting boundary conditions

Triangular2D.BottomOf(object, path=None)

  Boundary bottom of specified object

Triangular2D.Edge()

  Whole edge (outer and inner) of the mesh for setting boundary conditions

Triangular2D.EdgeOf(object, path=None)

  Edge of specified object (and edge of mesh holes inside the object)

Triangular2D.Left()

  Left edge of the mesh for setting boundary conditions

Triangular2D.LeftOf(object, path=None)

  Boundary left of specified object

Triangular2D.Right()

  Right edge of the mesh for setting boundary conditions

Triangular2D.RightOf(object, path=None)

  Boundary right of specified object

Triangular2D.Top()

  Top edge of the mesh for setting boundary conditions

Triangular2D.TopOf(object, path=None)

  Boundary top of specified object

### Attribute Details

Triangular2D.dim = 2

Triangular2D.elements = <property object>

  Element list in the mesh