Search Results for

    Show / Hide Table of Contents

    Class Geometry.Polygon.Arc

    Represnets an arc polygon.

    Inheritance
    System.Object
    Geometry.Polygon
    Geometry.Polygon.Arc
    Inherited Members
    Geometry.Polygon.Points
    Geometry.Polygon.Add(Vector2)
    Geometry.Polygon.Add(Vector3)
    Geometry.Polygon.Add(Geometry.Polygon)
    Geometry.Polygon.Draw(Color, Int32)
    Geometry.Polygon.IsInside(Vector2)
    Geometry.Polygon.IsInside(Vector3)
    Geometry.Polygon.IsInside(GameObjectBase)
    Geometry.Polygon.IsOutside(Vector2)
    Geometry.Polygon.ToClipperPath()
    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.

    Extension Methods

    Extensions.In<T>(T, T[])
    Geometry.CenterOfPolygone(Geometry.Polygon)
    Geometry.MovePolygone(Geometry.Polygon, Vector2)
    Geometry.RotatePolygon(Geometry.Polygon, Vector2, Single)
    Geometry.RotatePolygon(Geometry.Polygon, Vector2, Vector2)
    ☀
    ☾
    In This Article
    Back to top
    Generated by DocFX
    ☀
    ☾