You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
748 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Txgy.EWS.Client.FocalMechanism.Model
{
public class CrossLine : Graph
{
public double x { get; set; }
public double y { get; set; }
public int angle { get; set; }
public double verDiff { get; set; }
public double horDiff { get; set; }
public Line[] Lines { get; set; }
public CrossLine(double x, double y, int angle)
{
this.x = x;
this.y = y;
this.angle = angle;
Lines = new Line[2];
Lines[0] = new Line(angle, y);
Lines[1] = new Line(angle + 90, 0 - x);
}
}
}