示例#1
0
        public AiwPoint(AiwCoordinate coordinate)
        {
            if (coordinate == null)
            {
                throw new ArgumentNullException("coordinates is null");
            }

            this.Coordinate = coordinate;
            this.Type       = AiwGeometryType.Point;
        }
示例#2
0
        public AiwVector(AiwCoordinate coordinate)
        {
            if (coordinate == null)
            {
                throw new ArgumentNullException("coordinates for vector is null");
            }

            this.Coordinate = coordinate;
            this.Type       = AiwGeometryType.Vector;
        }