Beispiel #1
0
 public void Dispose()
 {
     if (m_Scope != null)
     {
         m_Scope.SetTargetAndFallbackGeometry(m_TargetGeometry, m_FallbackGeometry);
     }
 }
Beispiel #2
0
            /// <summary>
            /// The constructor.
            /// </summary>
            /// <param name="scope">The associated shape edit scope.</param>
            /// <param name="targetGeometry">The current target geometry.</param>
            /// <param name="fallbackGeometry">The current fallback geometry.</param>
            public IFCTargetSetter(IFCImportShapeEditScope scope, TessellatedShapeBuilderTarget targetGeometry, TessellatedShapeBuilderFallback fallbackGeometry)
            {
                if (scope != null)
                {
                    m_Scope = scope;

                    m_TargetGeometry   = m_Scope.TargetGeometry;
                    m_FallbackGeometry = m_Scope.FallbackGeometry;

                    m_Scope.SetTargetAndFallbackGeometry(targetGeometry, fallbackGeometry);
                }
            }
            /// <summary>
            /// The constructor.
            /// </summary>
            /// <param name="scope">The associated shape edit scope.</param>
            /// <param name="targetGeometry">The current target geometry.</param>
            /// <param name="fallbackGeometry">The current fallback geometry.</param>
            public IFCTargetSetter(IFCImportShapeEditScope scope, TessellatedShapeBuilderTarget targetGeometry, TessellatedShapeBuilderFallback fallbackGeometry)
            {
                if (scope != null)
                {
                    m_Scope = scope;

                    m_TargetGeometry = m_Scope.TargetGeometry;
                    m_FallbackGeometry = m_Scope.FallbackGeometry;

                    m_Scope.SetTargetAndFallbackGeometry(targetGeometry, fallbackGeometry);
                }
            }