public class IFCDrawItemLine extends Object implements IIFCDrawItem
| Constructor and Description |
|---|
IFCDrawItemLine(double x1,
double y1,
double x2,
double y2)
Initializes a new instance of the
IFCDrawItemLine class. |
IFCDrawItemLine(double x1,
double y1,
double z1,
double x2,
double y2,
double z2)
Initializes a new instance of the
IFCDrawItemLine class. |
IFCDrawItemLine(IFCPoint point1,
IFCPoint point2)
Initializes a new instance of the
IFCDrawItemLine class. |
| Modifier and Type | Method and Description |
|---|---|
void |
adjustPlacement(IFCPoint placement)
Adjusts the placement of figure.
|
com.aspose.ms.System.Collections.Generic.List<IFCDrawItemLine> |
getLineRepresentation()
Gets the line representation of drawing item.
|
IFCPoint |
getPoint1()
Gets or sets the point1 of line.
|
IFCPoint |
getPoint2()
Gets or sets the point2 of line.
|
void |
scale(double scale)
Scales the figure.
|
void |
setPoint1(IFCPoint value)
Gets or sets the point1 of line.
|
void |
setPoint2(IFCPoint value)
Gets or sets the point2 of line.
|
void |
transformCoord(IFCPoint xAxis,
IFCPoint zAxis)
Transforms the coordinate according to given X and Z Axis.
|
void |
transformCoord(IFCPoint xAxis,
IFCPoint yAxis,
IFCPoint zAxis)
Transforms the coordinate according to given X, Y and Z Axis.
|
public IFCDrawItemLine(double x1,
double y1,
double x2,
double y2)
Initializes a new instance of the IFCDrawItemLine class.
x1 - The x1 coordinate.y1 - The y1 coordinate.x2 - The x2 coordinate.y2 - The y2 coordinate.public IFCDrawItemLine(double x1,
double y1,
double z1,
double x2,
double y2,
double z2)
Initializes a new instance of the IFCDrawItemLine class.
x1 - The x1 coordinate.y1 - The y1 coordinate.z1 - The z1 coordinate.x2 - The x2 coordinate.y2 - The y2 coordinate.z2 - The z2 coordinate.public IFCPoint getPoint1()
Gets or sets the point1 of line.
public void setPoint1(IFCPoint value)
Gets or sets the point1 of line.
value - The point1.public IFCPoint getPoint2()
Gets or sets the point2 of line.
public void setPoint2(IFCPoint value)
Gets or sets the point2 of line.
value - The point2.public void adjustPlacement(IFCPoint placement)
Adjusts the placement of figure.
adjustPlacement in interface IIFCItemplacement - The placement to use for ajust.public void transformCoord(IFCPoint xAxis, IFCPoint zAxis)
Transforms the coordinate according to given X and Z Axis.
transformCoord in interface IIFCItemxAxis - The x axis.zAxis - The z axis.public void transformCoord(IFCPoint xAxis, IFCPoint yAxis, IFCPoint zAxis)
Transforms the coordinate according to given X, Y and Z Axis.
transformCoord in interface IIFCItemxAxis - The x axis.yAxis - The y axis.zAxis - The z axis.public com.aspose.ms.System.Collections.Generic.List<IFCDrawItemLine> getLineRepresentation()
Gets the line representation of drawing item.
getLineRepresentation in interface IIFCDrawItemCopyright (c) 2008-2021 Aspose Pty Ltd. All Rights Reserved.