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()
Assembly: Xbim.Tessellator.dll
Syntax
Constructors
|
Improve this Doc
View Source
Tess()
Declaration
Fields
|
Improve this Doc
View Source
SUnitX
Declaration
Field Value
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
SUnitY
Declaration
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
|
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
Methods
|
Improve this Doc
View Source
AddContour(ContourVertex[])
Declaration
public void AddContour(ContourVertex[] vertices)
Parameters
|
Improve this Doc
View Source
AddContour(ContourVertex[], ContourOrientation)
Declaration
public void AddContour(ContourVertex[] vertices, ContourOrientation forceOrientation)
Parameters
|
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
|
Improve this Doc
View Source
Tessellate(WindingRule, ElementType, Int32)
Declaration
public void Tessellate(WindingRule windingRule, ElementType elementType, int polySize)
Parameters
|
Improve this Doc
View Source
Tessellate(WindingRule, ElementType, Int32, CombineCallback)
Declaration
public void Tessellate(WindingRule windingRule, ElementType elementType, int polySize, CombineCallback combineCallback)
Parameters