Skip to content
Snippets Groups Projects
Commit 3f5bd88b authored by ribeaudc's avatar ribeaudc
Browse files

[LMS-117]

add:
- Constructor with 'Geometry' as parameter.

SVN: 2923
parent ea87f200
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,11 @@ public final class PlateGeometry extends Geometry
*/
public static final String PLATE_GEOMETRY = "plate_geometry";
public PlateGeometry(final Geometry geometry)
{
this(geometry.getRows(), geometry.getColumns());
}
public PlateGeometry(final int rows, final int columns)
{
super(rows, columns);
......
......@@ -35,6 +35,11 @@ public final class WellGeometry extends Geometry
*/
public static final String WELL_GEOMETRY = "well_geometry";
public WellGeometry(final Geometry geometry)
{
this(geometry.getRows(), geometry.getColumns());
}
public WellGeometry(final int rows, final int columns)
{
super(rows, columns);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment