public class Cad2DPoint extends Object
The Cad 2 d 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 |
---|---|
void |
addToCadParams_internalized(String subClass,
CadBase baseObject)
The add to Cad params.
|
static Cad2DPoint |
cad2DPointFromVertex_internalized(CadBaseEntity baseVertex)
Gets point location from 3DVertex or 2DVertex.
|
double |
distance(Cad2DPoint destination)
Distances the specified destination.
|
static Cad2DPoint |
fromAttributes(int attributeX,
int attributeY)
Initializes a new instance of the
Cad2DPoint class. |
Point2D.Float |
getFPoint() |
com.aspose.ms.System.Drawing.PointF |
getFPointInternal_internalized()
Gets the point.
|
CadDoubleParameter |
getParamX_internalized()
Gets or sets the param x.
|
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 static Cad2DPoint fromAttributes(int attributeX, int attributeY)
Initializes a new instance of the Cad2DPoint
class.
attributeX
- The attribute x.attributeY
- The attribute y.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 CadDoubleParameter getParamX_internalized()
Gets or sets the param x.
public double distance(Cad2DPoint destination)
Distances the specified destination.
destination
- The destination.public com.aspose.ms.System.Drawing.PointF getFPointInternal_internalized()
Gets the point.
Imaging.PointF
.public Point2D.Float getFPoint()
public static Cad2DPoint cad2DPointFromVertex_internalized(CadBaseEntity baseVertex)
Gets point location from 3DVertex or 2DVertex. Requires for polyline rendering.
baseVertex
- Object with base vertexCopyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.