Cad2DPoint
Contents
[
Hide
]The Cad 2d point.
Constructors
| Constructor | Description |
|---|---|
| Cad2DPoint() | Initializes a new instance of the Cad2DPoint class. |
| Cad2DPoint(double x, double y) | Initializes a new instance of the Cad2DPoint class. |
Methods
| Method | Description |
|---|---|
| getX() | Gets or sets the x. |
| setX(double value) | Gets or sets the x. |
| getY() | Gets or sets the y. |
| setY(double value) | Gets or sets the y. |
| distance(Cad2DPoint destination) | Distances the specified destination. |
| getApsPoint() | Gets the aps point. |
Cad2DPoint()
public Cad2DPoint()
Initializes a new instance of the Cad2DPoint class.
Cad2DPoint(double x, double y)
public Cad2DPoint(double x, double y)
Initializes a new instance of the Cad2DPoint class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| x | double | The x ordinate. |
| y | double | The y ordinate. |
getX()
public double getX()
Gets or sets the x.
Returns: double
setX(double value)
public void setX(double value)
Gets or sets the x.
getY()
public double getY()
Gets or sets the y.
Returns: double
setY(double value)
public void setY(double value)
Gets or sets the y.
distance(Cad2DPoint destination)
public double distance(Cad2DPoint destination)
Distances the specified destination.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| destination | Cad2DPoint | The destination. |
Returns: double - Distance to point
getApsPoint()
public final com.aspose.foundation.rendering.ApsPoint getApsPoint()
Gets the aps point.
Returns: com.aspose.foundation.rendering.ApsPoint - ApsPoint