Class Geometry.Polygon.Arc
Represnets an arc polygon.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Oasys.Common.Logic
Assembly: Oasys.Common.dll
Syntax
public class Arc : Geometry.Polygon
Constructors
Arc(Vector2, Vector2, Single, Single, Int32)
Initializes a new instance of the Geometry.Polygon.Arc class.
Declaration
public Arc(Vector2 start, Vector2 direction, float angle, float radius, int quality = 20)
Parameters
Type | Name | Description |
---|---|---|
SharpDX.Vector2 | start | The start. |
SharpDX.Vector2 | direction | The direction. |
System.Single | angle | The angle. |
System.Single | radius | The radius. |
System.Int32 | quality | The quality. |
Arc(Vector3, Vector3, Single, Single, Int32)
Initializes a new instance of the Geometry.Polygon.Arc class.
Declaration
public Arc(Vector3 start, Vector3 direction, float angle, float radius, int quality = 20)
Parameters
Type | Name | Description |
---|---|---|
SharpDX.Vector3 | start | The start. |
SharpDX.Vector3 | direction | The direction. |
System.Single | angle | The angle. |
System.Single | radius | The radius. |
System.Int32 | quality | The quality. |
Fields
Angle
The angle
Declaration
public float Angle
Field Value
Type | Description |
---|---|
System.Single |
EndPos
The end position
Declaration
public Vector2 EndPos
Field Value
Type | Description |
---|---|
SharpDX.Vector2 |
Radius
The radius
Declaration
public float Radius
Field Value
Type | Description |
---|---|
System.Single |
StartPos
The start position
Declaration
public Vector2 StartPos
Field Value
Type | Description |
---|---|
SharpDX.Vector2 |
Methods
UpdatePolygon(Int32)
Updates the polygon.
Declaration
public void UpdatePolygon(int offset = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | offset | The offset. |