Click or drag to resize

Geometry Class

Stores geometry in a DCEL (doubly connected (half) edge list).
Inheritance Hierarchy
SystemObject
  Fusee.JometriGeometry

Namespace:  Fusee.Jometri
Assembly:  Fusee.Jometri (in Fusee.Jometri.dll) Version: 0.7.0.0 (0.7.0.0)
Syntax
C#
public class Geometry

The Geometry type exposes the following members.

Constructors
  NameDescription
Public methodGeometry
2D Geometry, stored in a DCEL (half edge data structure).
Top
Methods
  NameDescription
Public methodCloneGeometry
Creates an exact copy of the given Geometry.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAllFaces
Returns all Faces of the Geometry.
Public methodGetAllHalfEdges
Returns all HalfEdges of the Geometry.
Public methodGetAllVertices
Returns all Vertices of the Geometry.
Public methodGetFaceHalfEdges
This collection contains all handles to HalfEdges of a given Face.
Public methodGetFaceOuterVertices
This collection contains all Vertices of the outer boundary of a given Face.
Public methodGetFacesAdajacentToFace
This collection contains all Faces neighbouring a given Face.
Public methodGetFaceVertices
This collection contains all Vertices of a given Face.
Public methodGetHalfEdgeLoop
This collection contains all handles to HalfEdges belonging to a closed loop. Collection is made by tracking the initial HalfEdge's successors.
Public methodGetHalfEdgeLoopReverse
This collection contains all handles to HalfEdges belonging to a closed loop. Calculation is made by tracking the initial HalfEdge's predecessors.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetVertexAdajacentFaces
This collection contains all handles to Faces adjacent to a given Vertex.
Public methodGetVertexAdjacentVertices
This collection contains all vertices neighbouring a given Vertex.
Public methodGetVertexIncidentHalfEdges
This collection contains all handles to HalfEdges starting at or targeting a given Vertex.
Public methodGetVertexStartingHalfEdges
This collection contains all handles to HalfEdges starting at a given Vertex.
Public methodGetVertexTargetingHalfEdges
This collection contains all handles to HalfEdges ending at a given Vertex.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetFaceNormal
Calculates and saves the normal of the Face into its FaceData.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodExtrude2DPolygon
Extrudes a complete planar geometry.
(Defined by Extrude.)
Public Extension MethodExtrudeFace(Int32, Single)Overloaded.
Extrudes a given Face by a given offset along its normal vector.
(Defined by Extrude.)
Public Extension MethodExtrudeFace(Int32, Single, float3)Overloaded.
Extrudes a given Face along a specified Vector.
(Defined by Extrude.)
Public Extension MethodGetHalfEdgesWChangedWinding
Returns the half edges from a source collection of half edges - with opposite direction.
(Defined by GeometricOperations.)
Public Extension MethodInsertDiagonal
Inserts a pair of HalfEdges between two (non adjacent) vertices of a Face.
(Defined by GeomEditing.)
Public Extension MethodInsertVertex
Inserts a new Vertex between two given exsisting Vertices.
(Defined by GeomEditing.)
Public Extension MethodInsetFace
Insets a Face with a given offset. The new, center Face has the same Handle as the original Face.
(Defined by GeomEditing.)
Public Extension MethodIsAngleGreaterOrEqualPi
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.)
Public Extension MethodIsAngleGreaterPi
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.)
Public Extension MethodIsPointInPolygon(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.)
Public Extension MethodIsPointInPolygon(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.)
Public Extension MethodIsVertexAdjacentToVertex
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.)
Public Extension MethodTriangulate
After triangulation all faces of a geometry consist of three vertices and three half edges.
(Defined by Triangulation.)
Top
See Also