Table of Contents

Interface INearestPointProximity

Namespace
Uncreated.Warfare.Proximity
Assembly
Uncreated.Warfare.dll

Allows implementations of IProximity to implement a function to get the nearest point on the border of the proximity to another point.

public interface INearestPointProximity : IProximity, IShapeVolume, ICloneable
Inherited Members
IShapeVolume.containsPoint(Vector3)
IShapeVolume.worldBounds
IShapeVolume.internalVolume
IShapeVolume.surfaceArea
Extension Methods

Methods

GetNearestPointOnBorder(in Vector3)

Get the nearest point on the border of this proximity to fromLocation.

Vector3 GetNearestPointOnBorder(in Vector3 fromLocation)

Parameters

fromLocation Vector3

Returns

Vector3