예제 #1
0
        private static bool IsFeatureInNetworkClass(IFeature feature,
                                                    LinearNetworkClassDef networkClassDef)
        {
            if (!DatasetUtils.IsSameObjectClass(feature.Class, networkClassDef.FeatureClass))
            {
                return(false);
            }

            return(networkClassDef.IsInLinearNetworkClass(feature));
        }
예제 #2
0
 protected bool Equals(LinearNetworkClassDef other)
 {
     return(FeatureClass.Equals(other.FeatureClass) && WhereClause == other.WhereClause &&
            GeometryType == other.GeometryType);
 }