2D ExamplesΒΆ

This section contains several examples of geometrical setups in two-dimensional (2D) space.

Note

2D geometries for JCMsuite are defined in the cartesian x-y-plane.

Object creation & operations

Rotated Ellipse Corner Rounding Generalized Polygon GDSII Import
rotated_ellipse_png corner_rounding_png generalized_polygon_png gdsII_png
Lattice Copies      
lattice_copies_png      

Relative placements of objects

Relative placement
relative_placements

Boolean Operations

Union Intersection Difference Complement
union_png intersection_png difference_png complement_png

Boundary Conditions

Transparent I Transparent II Bounding Box Convex Hull
transparent_boundaries_1_png transparent_boundaries_2_png boundingbox_png convex_hull_png
Periodic I Periodic II Periodic III Transparent/periodic
periodic_boundaries_square_png periodic_boundaries_hexagonal_png periodic_boundaries_hexagonal_step_png transparent_periodic_boundaries_png
Fixed Transparent/fixed    
fixed_boundaries_png transparent_fixed_boundaries_png    

Scripting

Scripting example I
scripting_rough_png