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

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

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