Search Results for

    Show / Hide Table of Contents

    Class Arc2d

    Inheritance
    Object
    Arc2d
    Implements
    IParametricCurve2d
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: g3
    Assembly: cs.temp.dll.dll
    Syntax
    public class Arc2d : IParametricCurve2d

    Constructors

    Arc2d(Vector2d, Vector2d, Vector2d)

    Create Arc around center, clockwise from start to end points. Points must both be the same distance from center (ie on circle)

    Declaration
    public Arc2d(Vector2d vCenter, Vector2d vStart, Vector2d vEnd)
    Parameters
    Type Name Description
    Vector2d vCenter
    Vector2d vStart
    Vector2d vEnd

    Arc2d(Vector2d, Double, Double, Double)

    Declaration
    public Arc2d(Vector2d center, double radius, double startDeg, double endDeg)
    Parameters
    Type Name Description
    Vector2d center
    Double radius
    Double startDeg
    Double endDeg

    Fields

    AngleEndDeg

    Declaration
    public double AngleEndDeg
    Field Value
    Type Description
    Double

    AngleStartDeg

    Declaration
    public double AngleStartDeg
    Field Value
    Type Description
    Double

    Center

    Declaration
    public Vector2d Center
    Field Value
    Type Description
    Vector2d

    IsReversed

    Declaration
    public bool IsReversed
    Field Value
    Type Description
    Boolean

    Radius

    Declaration
    public double Radius
    Field Value
    Type Description
    Double

    Properties

    ArcLength

    Declaration
    public double ArcLength { get; }
    Property Value
    Type Description
    Double

    Bounds

    Declaration
    public AxisAlignedBox2d Bounds { get; }
    Property Value
    Type Description
    AxisAlignedBox2d

    Curvature

    Declaration
    public double Curvature { get; }
    Property Value
    Type Description
    Double

    HasArcLength

    Declaration
    public bool HasArcLength { get; }
    Property Value
    Type Description
    Boolean

    IsClosed

    Declaration
    public bool IsClosed { get; }
    Property Value
    Type Description
    Boolean

    IsTransformable

    Declaration
    public bool IsTransformable { get; }
    Property Value
    Type Description
    Boolean

    P0

    Declaration
    public Vector2d P0 { get; }
    Property Value
    Type Description
    Vector2d

    P1

    Declaration
    public Vector2d P1 { get; }
    Property Value
    Type Description
    Vector2d

    ParamLength

    Declaration
    public double ParamLength { get; }
    Property Value
    Type Description
    Double

    SignedCurvature

    Declaration
    public double SignedCurvature { get; }
    Property Value
    Type Description
    Double

    Methods

    Clone()

    Declaration
    public IParametricCurve2d Clone()
    Returns
    Type Description
    IParametricCurve2d

    Distance(Vector2d)

    Declaration
    public double Distance(Vector2d point)
    Parameters
    Type Name Description
    Vector2d point
    Returns
    Type Description
    Double

    NearestPoint(Vector2d)

    Declaration
    public Vector2d NearestPoint(Vector2d point)
    Parameters
    Type Name Description
    Vector2d point
    Returns
    Type Description
    Vector2d

    Reverse()

    Declaration
    public void Reverse()

    SampleArcLength(Double)

    Declaration
    public Vector2d SampleArcLength(double a)
    Parameters
    Type Name Description
    Double a
    Returns
    Type Description
    Vector2d

    SampleT(Double)

    Declaration
    public Vector2d SampleT(double t)
    Parameters
    Type Name Description
    Double t
    Returns
    Type Description
    Vector2d

    SetFromCenterAndPoints(Vector2d, Vector2d, Vector2d)

    Initialize Arc around center, clockwise from start to end points. Points must both be the same distance from center (ie on circle)

    Declaration
    public void SetFromCenterAndPoints(Vector2d vCenter, Vector2d vStart, Vector2d vEnd)
    Parameters
    Type Name Description
    Vector2d vCenter
    Vector2d vStart
    Vector2d vEnd

    TangentT(Double)

    Declaration
    public Vector2d TangentT(double t)
    Parameters
    Type Name Description
    Double t
    Returns
    Type Description
    Vector2d

    Transform(ITransform2)

    Declaration
    public void Transform(ITransform2 xform)
    Parameters
    Type Name Description
    ITransform2 xform

    Implements

    IParametricCurve2d
    In This Article
    Back to top ViRGIS VR GIS