Search Results for

    Show / Hide Table of Contents

    Class Tess

    Inheritance
    System.Object
    Tess
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Xbim.Tessellator
    Assembly: Xbim.Tessellator.dll
    Syntax
    public class Tess

    Constructors

    | Improve this Doc View Source

    Tess()

    Declaration
    public Tess()

    Fields

    | Improve this Doc View Source

    SUnitX

    Declaration
    public double SUnitX
    Field Value
    Type Description
    System.Double
    | Improve this Doc View Source

    SUnitY

    Declaration
    public double SUnitY
    Field Value
    Type Description
    System.Double

    Properties

    | Improve this Doc View Source

    ElementCount

    Declaration
    public int ElementCount { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Elements

    Declaration
    public int[] Elements { get; }
    Property Value
    Type Description
    System.Int32[]
    | Improve this Doc View Source

    Normal

    Declaration
    public Vec3 Normal { get; set; }
    Property Value
    Type Description
    Vec3
    | Improve this Doc View Source

    VertexCount

    Declaration
    public int VertexCount { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Vertices

    Declaration
    public ContourVertex[] Vertices { get; }
    Property Value
    Type Description
    ContourVertex[]

    Methods

    | Improve this Doc View Source

    AddContour(ContourVertex[])

    Declaration
    public void AddContour(ContourVertex[] vertices)
    Parameters
    Type Name Description
    ContourVertex[] vertices
    | Improve this Doc View Source

    AddContour(ContourVertex[], ContourOrientation)

    Declaration
    public void AddContour(ContourVertex[] vertices, ContourOrientation forceOrientation)
    Parameters
    Type Name Description
    ContourVertex[] vertices
    ContourOrientation forceOrientation
    | Improve this Doc View Source

    AddContours(List<ContourVertex[]>, Boolean)

    Adds all the contours and determines the outer loop and the corrects the windings

    Declaration
    public void AddContours(List<ContourVertex[]> contours, bool computeNormal = false)
    Parameters
    Type Name Description
    System.Collections.Generic.List<ContourVertex[]> contours
    System.Boolean computeNormal

    Calculates the normal property based on the outer face

    | Improve this Doc View Source

    ComputeInterior()

    ComputeInterior computes the planar arrangement specified by the given contours, and further subdivides this arrangement into regions. Each region is marked "inside" if it belongs to the polygon, according to the rule given by windingRule. Each interior region is guaranteed to be monotone.

    Declaration
    protected void ComputeInterior()
    | Improve this Doc View Source

    ComputeNewellsNormal(ContourVertex[], ref Vec3)

    Declaration
    public static void ComputeNewellsNormal(ContourVertex[] vertices, ref Vec3 normal)
    Parameters
    Type Name Description
    ContourVertex[] vertices
    Vec3 normal
    | Improve this Doc View Source

    Tessellate(WindingRule, ElementType, Int32)

    Declaration
    public void Tessellate(WindingRule windingRule, ElementType elementType, int polySize)
    Parameters
    Type Name Description
    WindingRule windingRule
    ElementType elementType
    System.Int32 polySize
    | Improve this Doc View Source

    Tessellate(WindingRule, ElementType, Int32, CombineCallback)

    Declaration
    public void Tessellate(WindingRule windingRule, ElementType elementType, int polySize, CombineCallback combineCallback)
    Parameters
    Type Name Description
    WindingRule windingRule
    ElementType elementType
    System.Int32 polySize
    CombineCallback combineCallback
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2022 xbim