Files
stgsharp/源代码/StgSharp/Geometries/Point.cs
T

41 lines
794 B
C#

using StgSharp;
using StgSharp.Math;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Security.Cryptography;
using System.Text;
namespace StgSharp.Geometries
{
public class Point: INode<Point>
{
internal vec3d _position;
public float X
{
get { return this._position.X; }
}
public float Y
{
get { return this._position.Y; }
}
public void Update() => new NotImplementedException();
public bool IsInGeometry(IPlainGeometry geo)
{
throw new NotImplementedException();
}
public bool IsOnPlain(IPlainGeometry geo)
{
return this._position * geo.GetPlain().plainParameter == 1;
}
}
}