46 lines
928 B
C#
46 lines
928 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 IsInGeometry(IPlainGeometryCombination geo)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public bool IsOnPlain(IPlainGeometry geo)
|
|
{
|
|
return this._position * geo.GetPlain().plainParameter == 1;
|
|
}
|
|
|
|
}
|
|
}
|