Show / Hide Table of Contents

    Class LineExtensions

    Line extension methods.

    Inheritance
    System.Object
    LineExtensions
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Elements.Geometry
    Assembly: Hypar.Elements.dll
    Syntax
    public static class LineExtensions

    Methods

    Offset(List<Line>, Double)

    Offset the lines. The resulting polygon will have acute angles.

    Declaration
    public static List<Polygon> Offset(this List<Line> lines, double distance)
    Parameters
    Type Name Description
    System.Collections.Generic.List<Line> lines

    List of lines to offset.

    System.Double distance

    The distance to offset.

    Returns
    Type Description
    System.Collections.Generic.List<Polygon>