Search Results for

    Show / Hide Table of Contents

    Class ScaledNoder

    Wraps a INoder and transforms its input into the integer domain. This is intended for use with Snap-Rounding noders, which typically are only intended to work in the integer domain.

    Clients should be aware that rescaling can involve loss of precision, which can cause zero-length line segments to be created. These in turn can cause problems when used to build a planar graph. This situation should be checked for and collapsed segments removed if necessary.

    Inheritance
    object
    ScaledNoder
    Implements
    INoder
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.Noding
    Assembly: NetTopologySuite.dll
    Syntax
    public class ScaledNoder : INoder

    Constructors

    | Edit this page View Source

    ScaledNoder(INoder, double)

    Initializes a new instance of the ScaledNoder class.

    Declaration
    public ScaledNoder(INoder noder, double scaleFactor)
    Parameters
    Type Name Description
    INoder noder

    The noder to use

    double scaleFactor

    The scale factor to use

    Properties

    | Edit this page View Source

    IsIntegerPrecision

    Declaration
    public bool IsIntegerPrecision { get; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    ComputeNodes(IList<ISegmentString>)

    Declaration
    public void ComputeNodes(IList<ISegmentString> inputSegStrings)
    Parameters
    Type Name Description
    IList<ISegmentString> inputSegStrings
    | Edit this page View Source

    GetNodedSubstrings()

    Declaration
    public IList<ISegmentString> GetNodedSubstrings()
    Returns
    Type Description
    IList<ISegmentString>

    Implements

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