FUSEE 3D

## Geometry Class |

Stores geometry in a DCEL (doubly connected (half) edge list).

Inheritance Hierarchy

Syntax

C#

public class Geometry

The Geometry type exposes the following members.

Constructors

Methods

Name | Description | |
---|---|---|

CloneGeometry |
Creates an exact copy of the given Geometry.
| |

Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |

Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |

GetAllFaces |
Returns all Faces of the Geometry.
| |

GetAllHalfEdges |
Returns all HalfEdges of the Geometry.
| |

GetAllVertices |
Returns all Vertices of the Geometry.
| |

GetFaceHalfEdges |
This collection contains all handles to HalfEdges of a given Face.
| |

GetFaceOuterVertices |
This collection contains all Vertices of the outer boundary of a given Face.
| |

GetFacesAdajacentToFace |
This collection contains all Faces neighbouring a given Face.
| |

GetFaceVertices |
This collection contains all Vertices of a given Face.
| |

GetHalfEdgeLoop |
This collection contains all handles to HalfEdges belonging to a closed loop.
Collection is made by tracking the initial HalfEdge's successors.
| |

GetHalfEdgeLoopReverse |
This collection contains all handles to HalfEdges belonging to a closed loop.
Calculation is made by tracking the initial HalfEdge's predecessors.
| |

GetHashCode | Serves as the default hash function. (Inherited from Object.) | |

GetType | Gets the Type of the current instance. (Inherited from Object.) | |

GetVertexAdajacentFaces |
This collection contains all handles to Faces adjacent to a given Vertex.
| |

GetVertexAdjacentVertices |
This collection contains all vertices neighbouring a given Vertex.
| |

GetVertexIncidentHalfEdges |
This collection contains all handles to HalfEdges starting at or targeting a given Vertex.
| |

GetVertexStartingHalfEdges |
This collection contains all handles to HalfEdges starting at a given Vertex.
| |

GetVertexTargetingHalfEdges |
This collection contains all handles to HalfEdges ending at a given Vertex.
| |

MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |

SetFaceNormal |
Calculates and saves the normal of the Face into its FaceData.
| |

ToString | Returns a string that represents the current object. (Inherited from Object.) |

Extension Methods

Name | Description | |
---|---|---|

Extrude2DPolygon |
Extrudes a complete planar geometry.
(Defined by Extrude.) | |

ExtrudeFace(Int32, Single) | Overloaded.
Extrudes a given Face by a given offset along its normal vector.
(Defined by Extrude.) | |

ExtrudeFace(Int32, Single, float3) | Overloaded.
Extrudes a given Face along a specified Vector.
(Defined by Extrude.) | |

GetHalfEdgesWChangedWinding |
Returns the half edges from a source collection of half edges - with opposite direction.
(Defined by GeometricOperations.) | |

InsertDiagonal |
Inserts a pair of HalfEdges between two (non adjacent) vertices of a Face.
(Defined by GeomEditing.) | |

InsertVertex |
Inserts a new Vertex between two given exsisting Vertices.
(Defined by GeomEditing.) | |

InsetFace |
Insets a Face with a given offset. The new, center Face has the same Handle as the original Face.
(Defined by GeomEditing.) | |

IsAngleGreaterOrEqualPi |
Determines if the angle between two vectors, formed by three vertices, is greater or equal 180°.
The first vector will be created from v1 and v2, the second from v2 and v3.
(Defined by GeometricOperations.) | |

IsAngleGreaterPi |
Determines whether the angle between two vectors formed by three vertices is greater than 180 °.
The first vector will be created from v1 and v2, the second from v2 and v3.
(Defined by GeometricOperations.) | |

IsPointInPolygon(Face, Vertex) | Overloaded.
Tests if a point/vertex lies inside or outside a face - only works for polygons parallel to a plane!
(Defined by GeometricOperations.) | |

IsPointInPolygon(Face, float3) | Overloaded.
Tests if a point/vertex lies inside or outside a face - Only use this if you know the face AND vertex lie in the same plane and this plane is parallel to xy or xz or yz!
(Defined by GeometricOperations.) | |

IsVertexAdjacentToVertex |
Tests if a vertex is a direct neighbour of an other vertex. Only use this method if you know the incident half edges of the vertex.
(Defined by GeometricOperations.) | |

Triangulate |
After triangulation all faces of a geometry consist of three vertices and three half edges.
(Defined by Triangulation.) |

See Also