From c7b963df8f531f112c235c748c27ca2d36d770b8 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 15 Dec 2015 17:13:32 +0000 Subject: replace GetNearestPoint... funtions --- OpenSim/Framework/ILandObject.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/ILandObject.cs b/OpenSim/Framework/ILandObject.cs index 7a50c2a..af072fe 100644 --- a/OpenSim/Framework/ILandObject.cs +++ b/OpenSim/Framework/ILandObject.cs @@ -64,6 +64,10 @@ namespace OpenSim.Framework // a estimation of a parcel center. Vector2 CenterPoint { get; } + // get positions + Vector2? GetNearestPoint(Vector3 pos); + Vector2? GetNearestPointAlongDirection(Vector3 pos, Vector3 pdirection); + bool ContainsPoint(int x, int y); ILandObject Copy(); -- cgit v1.1