/// <summary> /// An FpML constructor. /// </summary> /// <param name="pt"></param> public PricingDataPoint2D(PricingDataPointCoordinate pt) : base(PointHelpers.To2DArray(pt)) { PricingDataPointCoordinate = pt; }
/// <summary> /// An FpML constructor. /// </summary> /// <param name="pt"></param> /// <param name="baseDate"></param> public PricingDataPoint2D(PricingStructurePoint pt, DateTime?baseDate) : base(PointHelpers.To2DArray(pt, baseDate)) { PricingDataPointCoordinate = pt.coordinate[0]; }