Search Results for

    Show / Hide Table of Contents

    Class OffsetPointGenerator

    Generates points offset by a given distance from both sides of the midpoint of all segments in a Geometry.

    Inheritance
    object
    OffsetPointGenerator
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.Operation.Overlay.Validate
    Assembly: NetTopologySuite.dll
    Syntax
    public class OffsetPointGenerator
    Remarks

    Can be used to generate probe points for determining whether a polygonal overlay result is incorrect.

    The input geometry may have any orientation for its rings, but SetSidesToGenerate(bool, bool) is only meaningful if the orientation is known.

    Constructors

    | Edit this page View Source

    OffsetPointGenerator(Geometry)

    Declaration
    public OffsetPointGenerator(Geometry g)
    Parameters
    Type Name Description
    Geometry g

    Methods

    | Edit this page View Source

    GetPoints(double)

    Gets the computed offset points.

    Declaration
    public List<Coordinate> GetPoints(double offsetDistance)
    Parameters
    Type Name Description
    double offsetDistance
    Returns
    Type Description
    List<Coordinate>
    | Edit this page View Source

    SetSidesToGenerate(bool, bool)

    Set the sides on which to generate offset points.

    Declaration
    public void SetSidesToGenerate(bool doLeft, bool doRight)
    Parameters
    Type Name Description
    bool doLeft
    bool doRight
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX