예제 #1
0
		public bool IsSame(laszip_point p)
		{
			if(X!=p.X) return false;
			if(Y!=p.Y) return false;
			if(Z!=p.Z) return false;

			if(intensity!=p.intensity) return false;
			if(flags!=p.flags) return false;
			if(classification!=p.classification) return false;
			if(scan_angle_rank!=p.scan_angle_rank) return false;
			if(user_data!=p.user_data) return false;

			if(point_source_ID!=p.point_source_ID) return false;
			if(gps_time!=p.gps_time) return false;
			if(rgb[0]!=p.rgb[0]) return false;
			if(rgb[1]!=p.rgb[1]) return false;
			if(rgb[2]!=p.rgb[2]) return false;
			if(rgb[3]!=p.rgb[3]) return false;
			for(int i=0; i<29; i++)
				if(wave_packet[i]!=p.wave_packet[i]) return false;

			if(extended_flags!=p.extended_flags) return false;
			if(extended_classification!=p.extended_classification) return false;
			if(extended_returns!=p.extended_returns) return false;
			if(extended_scan_angle!=p.extended_scan_angle) return false;

			if(num_extra_bytes!=p.num_extra_bytes) return false;
			for(int i=0; i<num_extra_bytes; i++)
				if(extra_bytes[i]!=p.extra_bytes[i]) return false;

			return true;
		}
		public override bool write(laszip_point item)
		{
			try
			{
				outstream.Write(item.wave_packet, 0, 29);
			}
			catch
			{
				return false;
			}

			return true;
		}
예제 #3
0
		public override bool write(laszip_point item)
		{
			try
			{
				outstream.Write(item.extra_bytes, 0, (int)number);
			}
			catch
			{
				return false;
			}

			return true;
		}
        public override bool write(laszip_point item)
        {
            try
            {
                outstream.Write(item.wave_packet, 0, 29);
            }
            catch
            {
                return(false);
            }

            return(true);
        }
예제 #5
0
        public override bool write(laszip_point item)
        {
            try
            {
                outstream.Write(item.extra_bytes, 0, (int)number);
            }
            catch
            {
                return(false);
            }

            return(true);
        }
예제 #6
0
		public abstract bool init(laszip_point item);
예제 #7
0
        public bool IsSame(laszip_point p)
        {
            if (X != p.X)
            {
                return(false);
            }
            if (Y != p.Y)
            {
                return(false);
            }
            if (Z != p.Z)
            {
                return(false);
            }

            if (intensity != p.intensity)
            {
                return(false);
            }
            if (flags != p.flags)
            {
                return(false);
            }
            if (classification != p.classification)
            {
                return(false);
            }
            if (scan_angle_rank != p.scan_angle_rank)
            {
                return(false);
            }
            if (user_data != p.user_data)
            {
                return(false);
            }

            if (point_source_ID != p.point_source_ID)
            {
                return(false);
            }
            if (gps_time != p.gps_time)
            {
                return(false);
            }
            if (rgb[0] != p.rgb[0])
            {
                return(false);
            }
            if (rgb[1] != p.rgb[1])
            {
                return(false);
            }
            if (rgb[2] != p.rgb[2])
            {
                return(false);
            }
            if (rgb[3] != p.rgb[3])
            {
                return(false);
            }
            for (int i = 0; i < 29; i++)
            {
                if (wave_packet[i] != p.wave_packet[i])
                {
                    return(false);
                }
            }

            if (extended_flags != p.extended_flags)
            {
                return(false);
            }
            if (extended_classification != p.extended_classification)
            {
                return(false);
            }
            if (extended_returns != p.extended_returns)
            {
                return(false);
            }
            if (extended_scan_angle != p.extended_scan_angle)
            {
                return(false);
            }

            if (num_extra_bytes != p.num_extra_bytes)
            {
                return(false);
            }
            for (int i = 0; i < num_extra_bytes; i++)
            {
                if (extra_bytes[i] != p.extra_bytes[i])
                {
                    return(false);
                }
            }

            return(true);
        }
예제 #8
0
		public abstract bool write(laszip_point item);
예제 #9
0
		public abstract void read(laszip_point item);
예제 #10
0
 public abstract bool init(laszip_point item);
예제 #11
0
 public abstract bool write(laszip_point item);
예제 #12
0
 public abstract void read(laszip_point item);