Search Results for

    Show / Hide Table of Contents

    Class TransformSequence2

    TransformSequence stores an ordered list of basic transformations. This can be useful if you need to construct some modifications and want to use the same set later. For example, if you have a hierarchy of objects with relative transformations and want to "save" the nested transform sequence without having to hold references to the original objects.

    Use the Append() functions to add different transform types, and the TransformX() to apply the sequence

    Inheritance
    Object
    TransformSequence2
    Implements
    ITransform2
    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 TransformSequence2 : ITransform2

    Constructors

    TransformSequence2()

    Declaration
    public TransformSequence2()

    Methods

    Append(ITransform2)

    Declaration
    public TransformSequence2 Append(ITransform2 t2)
    Parameters
    Type Name Description
    ITransform2 t2
    Returns
    Type Description
    TransformSequence2

    RotationDeg(Double)

    Declaration
    public TransformSequence2 RotationDeg(double angle)
    Parameters
    Type Name Description
    Double angle
    Returns
    Type Description
    TransformSequence2

    RotationDeg(Double, Vector2d)

    Declaration
    public TransformSequence2 RotationDeg(double angle, Vector2d aroundPt)
    Parameters
    Type Name Description
    Double angle
    Vector2d aroundPt
    Returns
    Type Description
    TransformSequence2

    RotationRad(Double)

    Declaration
    public TransformSequence2 RotationRad(double angle)
    Parameters
    Type Name Description
    Double angle
    Returns
    Type Description
    TransformSequence2

    RotationRad(Double, Vector2d)

    Declaration
    public TransformSequence2 RotationRad(double angle, Vector2d aroundPt)
    Parameters
    Type Name Description
    Double angle
    Vector2d aroundPt
    Returns
    Type Description
    TransformSequence2

    Scale(Vector2d)

    Declaration
    public TransformSequence2 Scale(Vector2d s)
    Parameters
    Type Name Description
    Vector2d s
    Returns
    Type Description
    TransformSequence2

    Scale(Vector2d, Vector2d)

    Declaration
    public TransformSequence2 Scale(Vector2d s, Vector2d aroundPt)
    Parameters
    Type Name Description
    Vector2d s
    Vector2d aroundPt
    Returns
    Type Description
    TransformSequence2

    TransformN(Vector2d)

    Apply transforms to normalized vector

    Declaration
    public Vector2d TransformN(Vector2d n)
    Parameters
    Type Name Description
    Vector2d n
    Returns
    Type Description
    Vector2d

    TransformP(Vector2d)

    Apply transforms to point

    Declaration
    public Vector2d TransformP(Vector2d p)
    Parameters
    Type Name Description
    Vector2d p
    Returns
    Type Description
    Vector2d

    TransformScalar(Double)

    Apply transforms to scalar dimension

    Declaration
    public double TransformScalar(double s)
    Parameters
    Type Name Description
    Double s
    Returns
    Type Description
    Double

    Translation(Vector2d)

    Declaration
    public TransformSequence2 Translation(Vector2d dv)
    Parameters
    Type Name Description
    Vector2d dv
    Returns
    Type Description
    TransformSequence2

    Translation(Double, Double)

    Declaration
    public TransformSequence2 Translation(double dx, double dy)
    Parameters
    Type Name Description
    Double dx
    Double dy
    Returns
    Type Description
    TransformSequence2

    Implements

    ITransform2
    In This Article
    Back to top ViRGIS VR GIS