Packages

 

com.aspose.cad.fileformats.cad.cadobjects

Interfaces

Classes

com.aspose.cad.fileformats.cad.cadobjects

Class Cad2DPoint

  • Direct Known Subclasses:
    Cad3DPoint


    public class Cad2DPoint
    extends Object

    The Cad 2d point.

    • Constructor Detail

      • Cad2DPoint

        public Cad2DPoint()

        Initializes a new instance of the Cad2DPoint class.

      • Cad2DPoint

        public Cad2DPoint(double x,
                          double y)

        Initializes a new instance of the Cad2DPoint class.

        Parameters:
        x - The x ordinate.
        y - The y ordinate.
    • Method Detail

      • getX

        public double getX()

        Gets or sets the x.

      • setX

        public void setX(double value)

        Gets or sets the x.

      • getY

        public double getY()

        Gets or sets the y.

      • setY

        public void setY(double value)

        Gets or sets the y.

      • distance

        public double distance(Cad2DPoint destination)

        Distances the specified destination.

        Parameters:
        destination - The destination.
        Returns:
        Distance to point
      • getApsPoint

        public final com.aspose.foundation.rendering.ApsPoint getApsPoint()

        Gets the aps point.

        Returns:
        ApsPoint