Cad2DPoint

The Cad 2d point.

Constructors

ConstructorDescription
Cad2DPoint()Initializes a new instance of the Cad2DPoint class.
Cad2DPoint(double x, double y)Initializes a new instance of the Cad2DPoint class.

Methods

MethodDescription
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:

ParameterTypeDescription
xdoubleThe x ordinate.
ydoubleThe 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:

ParameterTypeDescription
destinationCad2DPointThe 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