mirror of
https://github.com/ldqk/Masuit.Tools.git
synced 2026-10-28 11:47:11 +08:00
17 lines
439 B
C#
17 lines
439 B
C#
using Masuit.Tools.Maths;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Test
|
|
{
|
|
static class Program
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
var c1 = new RadarChart(new List<double>() { 2, 2, 2, 2 });
|
|
var c2 = new RadarChart(new List<double>() { 3, 3, 3, 3 });
|
|
var area = c1.ComputeIntersection(c2).ComputeArea();
|
|
Console.WriteLine(area);
|
|
}
|
|
}
|
|
} |