Search Results for

    Show / Hide Table of Contents

    Class OldOffsetCurveBuilder

    Computes the raw offset curve for a single Geometry component (ring, line or point).

    Inheritance
    object
    OldOffsetCurveBuilder
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.Operation.Buffer
    Assembly: NetTopologySuite.dll
    Syntax
    [Obsolete]
    public class OldOffsetCurveBuilder
    Remarks

    A raw offset curve line is not noded - it may contain self-intersections (and usually will). The final buffer polygon is computed by forming a topological graph of all the noded raw curves and tracing outside contours. The points in the raw curve are rounded to the required precision model.

    Constructors

    | Edit this page View Source

    OldOffsetCurveBuilder(PrecisionModel, BufferParameters)

    Declaration
    public OldOffsetCurveBuilder(PrecisionModel precisionModel, BufferParameters bufParams)
    Parameters
    Type Name Description
    PrecisionModel precisionModel
    BufferParameters bufParams

    Methods

    | Edit this page View Source

    GetLineCurve(Coordinate[], double)

    This method handles single points as well as lines. Lines are assumed to not be closed (the function will not fail for closed lines, but will generate superfluous line caps).

    Declaration
    public IList<Coordinate[]> GetLineCurve(Coordinate[] inputPts, double distance)
    Parameters
    Type Name Description
    Coordinate[] inputPts
    double distance
    Returns
    Type Description
    IList<Coordinate[]>

    a List of Coordinate[]

    | Edit this page View Source

    GetRingCurve(Coordinate[], Position, double)

    This method handles the degenerate cases of single points and lines, as well as rings.

    Declaration
    public IList<Coordinate[]> GetRingCurve(Coordinate[] inputPts, Position side, double distance)
    Parameters
    Type Name Description
    Coordinate[] inputPts
    Position side
    double distance
    Returns
    Type Description
    IList<Coordinate[]>

    a List of Coordinate[]

    | Edit this page View Source

    GetRingCurve(Coordinate[], Positions, double)

    This method handles the degenerate cases of single points and lines, as well as rings.

    Declaration
    [Obsolete("Use GetRingCurve(Coordinate[], Geometries.Position, double)")]
    public IList<Coordinate[]> GetRingCurve(Coordinate[] inputPts, Positions side, double distance)
    Parameters
    Type Name Description
    Coordinate[] inputPts
    Positions side
    double distance
    Returns
    Type Description
    IList<Coordinate[]>

    a List of Coordinate[]

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX