Exemplo n.º 1
0
        public void TestMultiPointMShapeType()
        {
            double[]         measures = new double[] { 0.0, 1.0 };
            MultiPointMShape point    = new MultiPointMShape(m_recordNumber, m_metadata, m_extent, m_positions, 0.0, 1.0, measures);

            Assert.AreEqual(ShapeType.MultiPointM, point.ShapeType);
        }
Exemplo n.º 2
0
        public void TestMultiPointMShapeMeasure()
        {
            double[]         measures = new double[] { 0.0, 1.0 };
            MultiPointMShape points   = new MultiPointMShape(m_recordNumber, m_metadata, m_extent, m_positions, 0.0, 1.0, measures);

            Assert.AreEqual(measures[0], points.GetMeasure(0));
            Assert.AreEqual(measures[1], points.GetMeasure(1));
        }
Exemplo n.º 3
0
        public void TestMultiPointMShapePosition()
        {
            double[]         measures = new double[] { 0.0, 1.0 };
            MultiPointMShape points   = new MultiPointMShape(m_recordNumber, m_metadata, m_extent, m_positions, 0.0, 1.0, measures);

            Assert.AreEqual(m_positions[0], points[0]);
            Assert.AreEqual(new Cartographic(Constants.RadiansPerDegree, Constants.RadiansPerDegree, 1.0), points[1]);
        }