public class Cad2DPoint extends Object
The Cad 2d point.
Constructor and Description |
---|
Cad2DPoint()
Initializes a new instance of the
Cad2DPoint class. |
Cad2DPoint(double x,
double y)
Initializes a new instance of the
Cad2DPoint class. |
Modifier and Type | Method and Description |
---|---|
double |
distance(Cad2DPoint destination)
Distances the specified destination.
|
com.aspose.foundation.rendering.ApsPoint |
getApsPoint()
Gets the aps point.
|
double |
getX()
Gets or sets the x.
|
double |
getY()
Gets or sets the y.
|
void |
setX(double value)
Gets or sets the x.
|
void |
setY(double value)
Gets or sets the y.
|
public Cad2DPoint()
Initializes a new instance of the Cad2DPoint
class.
public Cad2DPoint(double x, double y)
Initializes a new instance of the Cad2DPoint
class.
x
- The x ordinate.y
- The y ordinate.public double getX()
Gets or sets the x.
public void setX(double value)
Gets or sets the x.
public double getY()
Gets or sets the y.
public void setY(double value)
Gets or sets the y.
public double distance(Cad2DPoint destination)
Distances the specified destination.
destination
- The destination.public final com.aspose.foundation.rendering.ApsPoint getApsPoint()
Gets the aps point.