public GC2LC ( |
||
arg | a vector which need to transform | |
Résultat |
/// <summary> /// update data according to current UCS /// </summary> /// <param name="lc"></param> private void UpdateDisplayData(UCS lc) { m_curves.Clear(); foreach (List <Vector> iniVectors in m_iniCurves) { List <Vector> vectors = new List <Vector>(); m_curves.Add(vectors); for (int i = 0; i < iniVectors.Count; i++) { // transform points to local coordinate system vectors.Add(lc.GC2LC(iniVectors[i])); } } // trigger update view event if (null != UpdateViewEvent) { UpdateViewEvent(); } }
/// <summary> /// update data according to current UCS /// </summary> /// <param name="lc"></param> private void UpdateDisplayData(UCS lc) { m_curves.Clear(); foreach (List<Vector> iniVectors in m_iniCurves) { List<Vector> vectors = new List<Vector>(); m_curves.Add(vectors); for (int i = 0; i < iniVectors.Count; i++) { // transform points to local coordinate system vectors.Add(lc.GC2LC(iniVectors[i])); } } // trigger update view event if (null != UpdateViewEvent) { UpdateViewEvent(); } }