public void TestCreateLocalDatum1() { ILocalDatum datum = _csFactory.CreateLocalDatum("name", DatumType.IHD_Geocentric); Assertion.AssertEquals("ctor. 1", "name", datum.Name); Assertion.AssertEquals("ctor. 2", DatumType.IHD_Geocentric, datum.DatumType); }
public void TestCreateLocalDatum2() { try { ILocalDatum datum = _csFactory.CreateLocalDatum(null, DatumType.IHD_Geocentric); Assertion.Fail("Should throw a ArgumentNullException."); } catch (ArgumentNullException) { } }
/// <summary> /// Creates a local coordinate system (not implemented). /// </summary> /// <param name="name"></param> /// <param name="Datum"></param> /// <param name="Unit"></param> /// <param name="ArAxes"></param> /// <returns></returns> public ILocalCoordinateSystem CreateLocalCoordinateSystem(string name, ILocalDatum Datum, IUnit Unit, IAxisInfo[] ArAxes) { throw new NotImplementedException(); }
/// <summary> /// Creates a <see cref="ILocalCoordinateSystem">local coordinate system</see>. /// </summary> /// <remarks> /// The dimension of the local coordinate system is determined by the size of /// the axis array. All the axes will have the same units. If you want to make /// a coordinate system with mixed units, then you can make a compound /// coordinate system from different local coordinate systems. /// </remarks> /// <param name="name">Name of local coordinate system</param> /// <param name="datum">Local datum</param> /// <param name="unit">Units</param> /// <param name="axes">Axis info</param> /// <returns>Local coordinate system</returns> public ILocalCoordinateSystem CreateLocalCoordinateSystem(string name, ILocalDatum datum, IUnit unit, List <AxisInfo> axes) { throw new NotImplementedException(); }
/// <summary> /// Creates a <see cref="ILocalCoordinateSystem">local coordinate system</see>. /// </summary> /// <remarks> /// The dimension of the local coordinate system is determined by the size of /// the axis array. All the axes will have the same units. If you want to make /// a coordinate system with mixed units, then you can make a compound /// coordinate system from different local coordinate systems. /// </remarks> /// <param name="name">Name of local coordinate system</param> /// <param name="datum">Local datum</param> /// <param name="unit">Units</param> /// <param name="axes">Axis info</param> /// <returns>Local coordinate system</returns> public ILocalCoordinateSystem CreateLocalCoordinateSystem(string name, ILocalDatum datum, IUnit unit, List<AxisInfo> axes) { throw new NotImplementedException(); }
/// <summary> /// Creates a <see cref="ILocalCoordinateSystem">local coordinate system</see>. /// </summary> /// <remarks> /// The dimension of the local coordinate system is determined by the size of /// the axis array. All the axes will have the same units. If you want to make /// a coordinate system with mixed units, then you can make a compound /// coordinate system from different local coordinate systems. /// </remarks> /// <param name="name">Name of local coordinate system</param> /// <param name="datum">Local datum</param> /// <param name="unit">Units</param> /// <param name="axes">Axis info</param> /// <returns>Local coordinate system</returns> public ILocalCoordinateSystem CreateLocalCoordinateSystem(string name, ILocalDatum datum, IUnit unit, Collection<AxisInfo> axes) { throw new Exception("The method or operation is not implemented."); }
/// <summary> /// Creates a <see cref="ILocalCoordinateSystem">local coordinate system</see>. /// </summary> /// <remarks> /// The dimension of the local coordinate system is determined by the size of /// the axis array. All the axes will have the same units. If you want to make /// a coordinate system with mixed units, then you can make a compound /// coordinate system from different local coordinate systems. /// </remarks> /// <param name="name">Name of local coordinate system</param> /// <param name="datum">Local datum</param> /// <param name="unit">Units</param> /// <param name="axes">Axis info</param> /// <returns>Local coordinate system</returns> public ILocalCoordinateSystem CreateLocalCoordinateSystem(string name, ILocalDatum datum, IUnit unit, List <AxisInfo> axes) { throw new Exception("The method or operation is not implemented."); }
public LocalCoordinateSystem(string name, ILocalDatum datum, IUnit linearUnit, AxisInfo[] axis) => throw null;