Search Results for

    Show / Hide Table of Contents

    Class PlanarComplex

    Inheritance
    Object
    PlanarComplex
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: g3
    Assembly: cs.temp.dll.dll
    Syntax
    public class PlanarComplex

    Constructors

    PlanarComplex()

    Declaration
    public PlanarComplex()

    Fields

    AngleAccuracyDeg

    Declaration
    public double AngleAccuracyDeg
    Field Value
    Type Description
    Double

    DistanceAccuracy

    Declaration
    public double DistanceAccuracy
    Field Value
    Type Description
    Double

    MinimizeSampling

    Declaration
    public bool MinimizeSampling
    Field Value
    Type Description
    Boolean

    SpacingT

    Declaration
    public double SpacingT
    Field Value
    Type Description
    Double

    Properties

    ElementCount

    Declaration
    public int ElementCount { get; }
    Property Value
    Type Description
    Int32

    Methods

    Add(IParametricCurve2d)

    Declaration
    public PlanarComplex.Element Add(IParametricCurve2d curve)
    Parameters
    Type Name Description
    IParametricCurve2d curve
    Returns
    Type Description
    PlanarComplex.Element

    Add(Polygon2d)

    Declaration
    public PlanarComplex.Element Add(Polygon2d poly)
    Parameters
    Type Name Description
    Polygon2d poly
    Returns
    Type Description
    PlanarComplex.Element

    Add(PolyLine2d)

    Declaration
    public PlanarComplex.Element Add(PolyLine2d pline)
    Parameters
    Type Name Description
    PolyLine2d pline
    Returns
    Type Description
    PlanarComplex.Element

    AllSegmentsItr()

    Declaration
    public IEnumerable<ComplexSegment2d> AllSegmentsItr()
    Returns
    Type Description
    IEnumerable<ComplexSegment2d>

    Append(PlanarComplex)

    Declaration
    public void Append(PlanarComplex append)
    Parameters
    Type Name Description
    PlanarComplex append

    Bounds()

    Declaration
    public AxisAlignedBox2d Bounds()
    Returns
    Type Description
    AxisAlignedBox2d

    Clone()

    Declaration
    public PlanarComplex Clone()
    Returns
    Type Description
    PlanarComplex

    ConvertToLoop(PlanarComplex.SmoothCurveElement, Double)

    Declaration
    public void ConvertToLoop(PlanarComplex.SmoothCurveElement curve, double tolerance = 1E-08)
    Parameters
    Type Name Description
    PlanarComplex.SmoothCurveElement curve
    Double tolerance

    CountType(IMultiCurve2d, Type)

    Declaration
    public int CountType(IMultiCurve2d curve, Type t)
    Parameters
    Type Name Description
    IMultiCurve2d curve
    Type t
    Returns
    Type Description
    Int32

    CountType(Type)

    Declaration
    public int CountType(Type t)
    Parameters
    Type Name Description
    Type t
    Returns
    Type Description
    Int32

    CurvesItr()

    Declaration
    public IEnumerable<PlanarComplex.SmoothCurveElement> CurvesItr()
    Returns
    Type Description
    IEnumerable<PlanarComplex.SmoothCurveElement>

    ElementsItr()

    Declaration
    public IEnumerable<PlanarComplex.Element> ElementsItr()
    Returns
    Type Description
    IEnumerable<PlanarComplex.Element>

    EndpointsItr()

    Declaration
    public IEnumerable<ComplexEndpoint2d> EndpointsItr()
    Returns
    Type Description
    IEnumerable<ComplexEndpoint2d>

    FindClosedLoops(Double)

    Declaration
    public PlanarComplex.ClosedLoopsInfo FindClosedLoops(double fSimplifyDeviationTol = 0.1)
    Parameters
    Type Name Description
    Double fSimplifyDeviationTol
    Returns
    Type Description
    PlanarComplex.ClosedLoopsInfo

    FindOpenCurves(Double)

    Declaration
    public PlanarComplex.OpenCurvesInfo FindOpenCurves(double fSimplifyDeviationTol = 0.1)
    Parameters
    Type Name Description
    Double fSimplifyDeviationTol
    Returns
    Type Description
    PlanarComplex.OpenCurvesInfo

    FindSolidRegions(PlanarComplex.FindSolidsOptions)

    Declaration
    public PlanarComplex.SolidRegionInfo FindSolidRegions(PlanarComplex.FindSolidsOptions options)
    Parameters
    Type Name Description
    PlanarComplex.FindSolidsOptions options
    Returns
    Type Description
    PlanarComplex.SolidRegionInfo

    FindSolidRegions(Double, Boolean)

    Declaration
    public PlanarComplex.SolidRegionInfo FindSolidRegions(double fSimplifyDeviationTol = 0.1, bool bWantCurveSolids = true)
    Parameters
    Type Name Description
    Double fSimplifyDeviationTol
    Boolean bWantCurveSolids
    Returns
    Type Description
    PlanarComplex.SolidRegionInfo

    HasOpenCurves()

    Declaration
    public bool HasOpenCurves()
    Returns
    Type Description
    Boolean

    JoinElements(ComplexEndpoint2d, ComplexEndpoint2d, Double)

    Declaration
    public bool JoinElements(ComplexEndpoint2d a, ComplexEndpoint2d b, double loop_tolerance = 1E-08)
    Parameters
    Type Name Description
    ComplexEndpoint2d a
    ComplexEndpoint2d b
    Double loop_tolerance
    Returns
    Type Description
    Boolean

    LoopLeafComponentsItr()

    iterate through "leaf" curves, ie all the IParametricCurve2D's embedded in loops that do not contain any child curves

    Declaration
    public IEnumerable<IParametricCurve2d> LoopLeafComponentsItr()
    Returns
    Type Description
    IEnumerable<IParametricCurve2d>

    LoopsItr()

    Declaration
    public IEnumerable<PlanarComplex.SmoothLoopElement> LoopsItr()
    Returns
    Type Description
    IEnumerable<PlanarComplex.SmoothLoopElement>

    PrintStats(String)

    Declaration
    public void PrintStats(string label = "")
    Parameters
    Type Name Description
    String label

    Remove(PlanarComplex.Element)

    Declaration
    public void Remove(PlanarComplex.Element e)
    Parameters
    Type Name Description
    PlanarComplex.Element e

    Reverse(PlanarComplex.SmoothCurveElement)

    Declaration
    public void Reverse(PlanarComplex.SmoothCurveElement c)
    Parameters
    Type Name Description
    PlanarComplex.SmoothCurveElement c

    SplitAllLoops()

    Declaration
    public void SplitAllLoops()

    Transform(ITransform2, Boolean, Boolean)

    Declaration
    public void Transform(ITransform2 xform, bool bApplyToSources, bool bRecomputePolygons = false)
    Parameters
    Type Name Description
    ITransform2 xform
    Boolean bApplyToSources
    Boolean bRecomputePolygons
    In This Article
    Back to top ViRGIS VR GIS