pojos
Class LineData

java.lang.Object
  extended by pojos.DataObject
      extended by pojos.ShapeData
          extended by pojos.LineData

public class LineData
extends ShapeData

Represents a line in the Euclidean space R2.

Since:
3.0-Beta4
Version:
3.0 (Internal version: $Revision: $Date: $)
Author:
?Jean-Marie Burel      ????j.burel@dundee.ac.uk, ???Donald MacDonald      ????donald@lifesci.dundee.ac.uk

Constructor Summary
LineData(omero.model.Shape shape)
          Creates a new instance.
 
Method Summary
 double getX1()
          Returns the x-coordinate of the starting point of an untransformed line.
 double getX2()
          Returns the x-coordinate of the end point of an untransformed line.
 double getY1()
          Returns the y-coordinate of the starting point of an untransformed line.
 double getY2()
          Returns the y-coordinate of the end point of an untransformed line.
 
Methods inherited from class pojos.ShapeData
getShapeSettings, getT, getTransform, getZ
 
Methods inherited from class pojos.DataObject
asAnnotation, asChannel, asDataset, asExperimenter, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlate, asPojo, asPojos, asPojos, asProject, asScreen, asWell, asWellSample, getCreated, getDetails, getId, getOwner, getPermissions, getUpdated, getVersion, isDirty, isLoaded, nullDetails, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, setDirty, setId, setValue, setVersion, timeOfEvent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LineData

public LineData(omero.model.Shape shape)
Creates a new instance.

Parameters:
shape - The shape to host.
Method Detail

getX1

public double getX1()
Returns the x-coordinate of the starting point of an untransformed line.

Returns:
See above.

getX2

public double getX2()
Returns the x-coordinate of the end point of an untransformed line.

Returns:
See above.

getY1

public double getY1()
Returns the y-coordinate of the starting point of an untransformed line.

Returns:
See above.

getY2

public double getY2()
Returns the y-coordinate of the end point of an untransformed line.

Returns:
See above.


OmeroJava Api

Version: Beta-4.1.1-r5927-b91

Copyright © 2009 The University of Dundee. All Rights Reserved.