Search Results for

    Show / Hide Table of Contents

    Class Geometry.Polygon.Line

    Represents a line polygon.

    Inheritance
    System.Object
    Geometry.Polygon
    Geometry.Polygon.Line
    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 Line : Geometry.Polygon

    Constructors

    Line(Vector2, Vector2, Single)

    Initializes a new instance of the Geometry.Polygon.Line class.

    Declaration
    public Line(Vector2 start, Vector2 end, float length = -1F)
    Parameters
    Type Name Description
    SharpDX.Vector2 start

    The start.

    SharpDX.Vector2 end

    The end.

    System.Single length

    The length.

    Line(Vector3, Vector3, Single)

    Initializes a new instance of the Geometry.Polygon.Line class.

    Declaration
    public Line(Vector3 start, Vector3 end, float length = -1F)
    Parameters
    Type Name Description
    SharpDX.Vector3 start

    The start.

    SharpDX.Vector3 end

    The end.

    System.Single length

    The length.

    Fields

    LineEnd

    The line end

    Declaration
    public Vector2 LineEnd
    Field Value
    Type Description
    SharpDX.Vector2

    LineStart

    The line start

    Declaration
    public Vector2 LineStart
    Field Value
    Type Description
    SharpDX.Vector2

    Properties

    Length

    Gets or sets the length.

    Declaration
    public float Length { get; set; }
    Property Value
    Type Description
    System.Single

    The length.

    Methods

    UpdatePolygon()

    Updates the polygon.

    Declaration
    public void UpdatePolygon()

    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
    ☀
    ☾