Class RotatedBox
Inheritance
object
RotatedBox
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SaigeVision.Net.V2.Models.Shapes
Assembly: SaigeVision.Net.V2.dll
Syntax
public class RotatedBox
Constructors
View SourceRotatedBox(PointF, PointF[], double, double, double)
생성자입니다
Declaration
public RotatedBox(PointF center, PointF[] points, double width, double height, double angle)
Parameters
| Type | Name | Description |
|---|---|---|
| PointF | center | 중심점 좌표 |
| PointF[] | points | 직사각형의 꼭지점 좌표입니다. 좌표 값은 |
| double | width | 너비 |
| double | height | 높이 |
| double | angle | 각도값(도) |
Properties
View SourceAngle
Declaration
public double Angle { get; }
Property Value
| Type | Description |
|---|---|
| double | 직사각형이 시계 방향으로 회전한 각도입니다. |
Center
Declaration
public PointF Center { get; }
Property Value
| Type | Description |
|---|---|
| PointF | 직사각형의 중심점 좌표입니다. |
Height
Declaration
public double Height { get; }
Property Value
| Type | Description |
|---|---|
| double | 직사각형의 높이입니다. |
Points
Declaration
public PointF[] Points { get; }
Property Value
| Type | Description |
|---|---|
| PointF[] | 직사각형의 꼭지점 좌표입니다. |
Width
Declaration
public double Width { get; }
Property Value
| Type | Description |
|---|---|
| double | 직사각형의 너비입니다. |
X
Declaration
public double X { get; }
Property Value
| Type | Description |
|---|---|
| double | 직사각형의 좌측 상단의 X 좌표입니다. |
Y
Declaration
public double Y { get; }
Property Value
| Type | Description |
|---|---|
| double | 직사각형의 좌측 상단의 Y 좌표입니다. |
Methods
View SourceGetRotatedBox(SaigeRotatedBox)
Engine으로 부터 받은 SaigeRotatedBox 을 RotatedBox 형태로 변경해주는 기능 제공
Declaration
public static RotatedBox GetRotatedBox(SaigeRotatedBox saigeRotatedBox)
Parameters
| Type | Name | Description |
|---|---|---|
| SaigeRotatedBox | saigeRotatedBox | 엔진으로 부터 받은 SaigeRotatedBox값 |
Returns
| Type | Description |
|---|---|
| RotatedBox |