/// <summary>
 /// Initializes a new instance of the GeometricNetworkValveIsolation class
 /// </summary>
 /// <param name="geometricNetwork">object geometricNetwork</param>
 /// <param name="geometricNetworkParameters">object IGeometricNetworkParameters</param>
 /// <param name="valve">feature class valve</param>
 /// <param name="station">feature class station</param>
 public GeometricNetworkValveIsolation(ESRI.ArcGIS.Geodatabase.IGeometricNetwork geometricNetwork, IGeometricNetworkParameters geometricNetworkParameters, IFeatureClass valve, IFeatureClass station)
     : base(geometricNetwork, geometricNetworkParameters)
 {
     this.Valve   = valve;
     this.Station = station;
 }
Example #2
0
        /// <summary>
        /// Initializes a new instance of the GeometricNetwork class
        /// </summary>
        /// <param name="geometricNetwork">object geometricNetwork</param>
        /// <param name="geometricNetworkParameters">object IGeometricNetworkParameters</param>
        public GeometricNetwork(ESRI.ArcGIS.Geodatabase.IGeometricNetwork geometricNetwork, IGeometricNetworkParameters geometricNetworkParameters)
        {
            this.geometricNetwork = geometricNetwork;
            this.EdgeFlags        = geometricNetworkParameters.EdgeFlags;
            this.JunctionFlags    = geometricNetworkParameters.JunctionFlags;
            this.EdgeBarriers     = geometricNetworkParameters.EdgeBarriers;
            this.JunctionBarriers = geometricNetworkParameters.JunctionBarriers;
            this.MaxFeatures      = geometricNetworkParameters.MaxFeatures;
            this.Tolerance        = geometricNetworkParameters.Tolerance;
            this.FlowElements     = geometricNetworkParameters.FlowElements;
            this.OutFields        = new string[] { "*" };

            this.edgeFlags        = new EdgeFlag[] { };
            this.junctionFlags    = new JunctionFlag[] { };
            this.edgeBarriers     = new int[] { };
            this.junctionBarriers = new int[] { };

            this.SetFlagsGeometricNetwork();
            this.SetBarriersGeometricNetwork();
        }
 /// <summary>
 /// Initializes a new instance of the GeometricNetworkTracer class
 /// </summary>
 /// <param name="geometricNetwork">object geometricNetwork</param>
 /// <param name="geometricNetworkParameters">object IGeometricNetworkParameters</param>
 /// <param name="traceSolverType">trace Solver Type</param>
 /// <param name="flowMethod">flow method</param>
 /// <param name="traceIndeterminateFlow">trace Indeterminate Flow</param>
 public GeometricNetworkTracer(ESRI.ArcGIS.Geodatabase.IGeometricNetwork geometricNetwork, IGeometricNetworkParameters geometricNetworkParameters, TraceSolverType traceSolverType, esriFlowMethod flowMethod, bool traceIndeterminateFlow)
     : base(geometricNetwork, geometricNetworkParameters)
 {
     this.TraceSolverType        = traceSolverType;
     this.FlowMethod             = flowMethod;
     this.TraceIndeterminateFlow = traceIndeterminateFlow;
     this.DisableLayers          = new List <int>();
 }