mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
calculate land startpoint, endpoint and center estimate when it is updated, it not every time they are needed
This commit is contained in:
@@ -50,16 +50,19 @@ namespace OpenSim.Framework
|
||||
IPrimCounts PrimCounts { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The start point for the land object. This is the western-most point as one scans land working from
|
||||
/// north to south.
|
||||
/// The start point for the land object. This is the northern-most point as one scans land working from
|
||||
/// west to east.
|
||||
/// </summary>
|
||||
Vector3 StartPoint { get; }
|
||||
Vector2 StartPoint { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The end point for the land object. This is the eastern-most point as one scans land working from
|
||||
/// south to north.
|
||||
/// The end point for the land object. This is the southern-most point as one scans land working from
|
||||
/// west to east.
|
||||
/// </summary>
|
||||
Vector3 EndPoint { get; }
|
||||
Vector2 EndPoint { get; }
|
||||
|
||||
// a estimation of a parcel center.
|
||||
Vector2 CenterPoint { get; }
|
||||
|
||||
bool ContainsPoint(int x, int y);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user