Uses of Class
ffx.numerics.quickhull.HalfEdge
Packages that use HalfEdge
Package
Description
The Quickhull package provides a 3D convex hull implementation and supporting
data structures (faces, half-edges, vertices, points and vectors).
-
Uses of HalfEdge in ffx.numerics.quickhull
Fields in ffx.numerics.quickhull declared as HalfEdgeModifier and TypeFieldDescriptionprotected HalfEdgeFace.he0protected HalfEdgeHalfEdge.nextNext half-edge in the triangle.protected HalfEdgeHalfEdge.oppositeHalf-edge associated with the opposite triangle adjacent to this edge.protected HalfEdgeHalfEdge.prevPrevious half-edge in the triangle.Fields in ffx.numerics.quickhull with type parameters of type HalfEdgeMethods in ffx.numerics.quickhull that return HalfEdgeModifier and TypeMethodDescriptionFinds the half-edge within this face which has tailvtand headvh.Face.getEdge(int i) Gets the i-th half-edge associated with the face.Face.getFirstEdge()Returns the first half-edge of this face (the start of the circular list).HalfEdge.getNext()Gets the value of the next edge adjacent (counter-clockwise) to this one within the triangle.HalfEdge.getOpposite()Returns the half-edge opposite to this half-edge.HalfEdge.getPrev()Gets the value of the previous edge adjacent (clockwise) to this one within the triangle.Methods in ffx.numerics.quickhull with parameters of type HalfEdgeModifier and TypeMethodDescriptiondoubleFace.areaSquared(HalfEdge hedge0, HalfEdge hedge1) Computes the squared area of the triangle defined by hedge0 (tail->head) and the point at the head of hedge1.protected voidRecursively computes the horizon (boundary) edges visible from a given eye point, marking visited faces deleted and collecting the bordering edges.intFace.mergeAdjacentFace(HalfEdge hedgeAdj, Face[] discarded) Merges this face with the adjacent face across the specified half-edge if possible.protected doubleQuickHull3D.oppFaceDistance(HalfEdge he) Computes the signed distance from the centroid of the opposite face across this edge to the plane of this edge's face.voidSets the value of the next edge adjacent (counter-clockwise) to this one within the triangle.voidHalfEdge.setOpposite(HalfEdge edge) Sets the half-edge opposite to this half-edge.voidSets the value of the previous edge adjacent (clockwise) to this one within the triangle.Method parameters in ffx.numerics.quickhull with type arguments of type HalfEdgeModifier and TypeMethodDescriptionprotected voidQuickHull3D.addNewFaces(FaceList newFaces, Vertex eyeVtx, Vector<HalfEdge> horizon) Builds and links the ring of new faces around the horizon using the eye vertex, recording them in the provided newFaces list.protected voidRecursively computes the horizon (boundary) edges visible from a given eye point, marking visited faces deleted and collecting the bordering edges.