コード例 #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;
        }