Class BufferedLine
INTERNAL: A line between two points with a buffer distance extending in every direction. By contrast, an un-buffered line covers no area and as such is extremely unlikely to intersect with a point. BufferedLine isn't yet aware of geodesics (e.g. the dateline); it operates in Euclidean space.
Inheritance
Inherited Members
Assembly: Spatial4n.dll
Syntax
[Serializable]
public class BufferedLine : IShape
Constructors
Name | Description |
---|---|
BufferedLine(IPoint, IPoint, Double, SpatialContext) | Creates a buffered line from pA to pB. The buffer extends on both sides of the line, making the width 2x the buffer. The buffer extends out from pA & pB, making the line in effect 2x the buffer longer than pA to pB. |
Properties
Name | Description |
---|---|
A | |
B | |
BoundingBox | |
Buf | |
Center | |
HasArea | |
IsEmpty | |
LinePerp | INTERNAL |
LinePrimary | INTERNAL |
Methods
Name | Description |
---|---|
Contains(IPoint) | |
Equals(Object) | |
ExpandBufForLongitudeSkew(IPoint, IPoint, Double) | Calls CalcLonDegreesAtLat(Double, Double) given pA or pB's latitude; whichever is farthest. It's useful to expand a buffer of a line segment when used in a geospatial context to cover the desired area. |
GetArea(SpatialContext) | |
GetBuffered(Double, SpatialContext) | |
GetHashCode() | |
Relate(IRectangle) | |
Relate(IShape) | |
ToString() |