Packages

 

com.aspose.cad.fileformats.cad.cadobjects

Classes

com.aspose.cad.fileformats.cad.cadobjects

Class Cad2DPoint

  • Direct Known Subclasses:
    Cad3DPoint


    public class Cad2DPoint
    extends Object

    The Cad 2 d 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.
      • Cad2DPoint

        public Cad2DPoint(int attributeX,
                          int attributeY)

        Initializes a new instance of the Cad2DPoint class.

        Parameters:
        attributeX - The attribute x.
        attributeY - The attribute y.
    • 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

Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.