TriangleElement.TriangleElementClass.Transform C# (CSharp) Method

Transform() public method

public Transform ( esriTransformDirection direction, ITransformation transformation ) : void
direction esriTransformDirection
transformation ITransformation
return void
    public void Transform(esriTransformDirection direction, ITransformation transformation)
    {
      if (null == m_triangle)
        return;

      //Geometry
      ((ITransform2D)m_triangle).Transform(direction, transformation);

      IAffineTransformation2D affineTrans = (IAffineTransformation2D)transformation;
      if (affineTrans.YScale != 1.0)
        m_size *= Math.Max(affineTrans.YScale, affineTrans.XScale);

      RefreshTracker();
    }