public final class LayoutPoint extends Object
Module: layout-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>layout-api</artifactId> </dependency>
Constructor and Description |
---|
LayoutPoint(double x,
double y)
2D Constructor, the Z coordinate is set to 0.
|
LayoutPoint(double x,
double y,
double z)
3D Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getX()
Returns the X location of the point.
|
double |
getY()
Returns the Y location of the point.
|
double |
getZ()
Returns the Z location of the point.
|
String |
toString() |
public LayoutPoint(double x, double y)
x
- The X location of the point.y
- The Y location of the point.public LayoutPoint(double x, double y, double z)
x
- The X location of the point.y
- The Y location of the point.z
- The Z location of the point.public double getX()
public double getY()
public double getZ()
Copyright 2011-2015 Cytoscape Consortium. All rights reserved.