Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
G
- gcd(int, int) - Static method in class Jcg.geometry.Rational
- GenerateMesh - Class in Jcg.test
- GenerateMesh() - Constructor for class Jcg.test.GenerateMesh
- generateTriangulation(int) - Method in class Jcg.meshgeneration.RandomSamplingTriangulations
- generateWord(int) - Method in class Jcg.meshgeneration.RandomSamplingTriangulations
- genus() - Method in class Jcg.polyhedron.Polyhedron_3
-
Return the genus of the mesh (given by Euler formula).
- GeometricConstructions_2 - Interface in Jcg.geometry.kernel
-
Interface defining geometric constructions for plane objects (points, segments, rays)
- GeometricConstructions_3 - Interface in Jcg.geometry.kernel
-
Interface defining geometric constructions for objects in 3D(points, segments, rays)
- GeometricOperations_2 - Class in Jcg.geometry
-
Deprecated.refer to class GeometricConstructions_2 and GeometricPredicates_2
- GeometricOperations_2() - Constructor for class Jcg.geometry.GeometricOperations_2
-
Deprecated.
- GeometricOperations_3 - Class in Jcg.geometry
-
Deprecated.refer to class GeometricConstructions_3 and GeometricPredicates_3
- GeometricOperations_3() - Constructor for class Jcg.geometry.GeometricOperations_3
-
Deprecated.
- GeometricPredicates_2 - Interface in Jcg.geometry.kernel
-
Interface defining geometric predicates for plane objects (points, segments, rays)
- GeometricPredicates_3 - Interface in Jcg.geometry.kernel
-
Interface defining geometric predicates for 3D objects (points, segments, rays)
- get(int) - Method in class Jcg.util.BitSet32
- get(int) - Method in class Jcg.util.BitSet64
-
Returns true or false for the specified bit index.
- get(int) - Method in interface Jcg.util.BitSetInterface
- getAverage(double[]) - Static method in class Jcg.util.Statistics
-
Compute the average of the (non negative) values in the array
Remark: negative values are skipped - getAverageBandwidth() - Method in class Jcg.util.MeshStatistics
-
Return the average vertex bandwidth.
- getAverageVertexGap() - Method in class Jcg.util.MeshStatistics
-
Return the average vertex gap (as defined in Barik et al.).
- getAverageVertexGap(int[]) - Method in class Jcg.util.MeshStatistics
-
Return the average vertex gap (profile) of a mesh whose vertices have been permuted according to a given permutation 'pi' of [0...n-1].
- getBarycenter() - Method in class Jcg.polyhedron.Face
-
Compute and return the barycenter (2d or 3d) of the vertices of the face
- getBit(int) - Method in class Jcg.util.BitSet32
-
Returns 1 if the bit is set, 0 if not.
- getBit(int) - Method in class Jcg.util.BitSet64
-
Returns 1 if the bit is set, 0 if not.
- getBit(int) - Method in interface Jcg.util.BitSetInterface
- getBits() - Method in class Jcg.util.BitSet64
-
Expert: returns the long[] storing the bits
- getCartesian(int) - Method in class Jcg.geometry.GridPoint_2
-
Return the d-th coordinate of the point
- getCartesian(int) - Method in class Jcg.geometry.GridPoint
-
Return the d-th coordinate of the point
- getCartesian(int) - Method in class Jcg.geometry.GridVector_2
- getCartesian(int) - Method in interface Jcg.geometry.Point_
-
return the i-th cartesian coordinate of the point
- getCartesian(int) - Method in class Jcg.geometry.Point_2
- getCartesian(int) - Method in class Jcg.geometry.Point_3
- getCartesian(int) - Method in class Jcg.geometry.Point_d
- getCartesian(int) - Method in class Jcg.geometry.RationalPoint_2
-
Return the d-th coordinate of the point
- getCartesian(int) - Method in interface Jcg.geometry.Vector_
-
return the i-th cartesian coordinate of the point
- getCartesian(int) - Method in class Jcg.geometry.Vector_2
- getCartesian(int) - Method in class Jcg.geometry.Vector_3
- getDeviation(double[]) - Static method in class Jcg.util.Statistics
-
Compute the average percent deviation
Remark: negative values are skipped - getDeviationOnlyPositive(double[]) - Static method in class Jcg.util.Statistics
-
Compute the average percent deviation
Remark: only (strictly) positive values are considered - getEdge() - Method in class Jcg.polyhedron.Face
- getElement() - Method in class Jcg.util.DListNode
- getEnd() - Method in class Jcg.util.DLinkedList
-
Return the end of the list: useful for iterating over the nodes
- getEntropyInteger(int[], int) - Static method in class Jcg.util.Statistics
-
Compute the Shannon entropy (0-entropy) of an integer input sequence.
- getFace() - Method in class Jcg.polyhedron.Halfedge
- getFace() - Method in class Jcg.triangulations2D.HalfedgeHandle
-
returns the face containing the half-edge.
- getFace() - Method in class Jcg.triangulations2D.TriangulationDSVertex_2
-
returns the cell associated with the vertex.
- getFirst() - Method in class Jcg.geometry.IntegerPair
- getFirst() - Method in class Jcg.geometry.Pair
- getFirst() - Method in class Jcg.util.CircularDLinkedList
-
Return the first node of the list The result is a null reference if the list is empty
- getFirst() - Method in class Jcg.util.DLinkedList
-
Return the first node of the list The result is a null reference if the list is empty
- getHalfedge() - Method in class Jcg.polyhedron.Vertex
- getHalfedge() - Method in class Jcg.triangulations2D.TriangulationDSVertex_2
-
returns an half-edge handle 'h' incident to the vertex 'v' (the target of 'h' is 'v')
- getIndex() - Method in class Jcg.geometry.GridPoint_2
-
Return the index
- getIndex() - Method in class Jcg.geometry.Point_2
-
Return the index
- getIndex() - Method in class Jcg.geometry.RationalPoint_2
-
Return the index
- getLast() - Method in class Jcg.util.DLinkedList
-
Return the last node of the list The result is a null reference if the list is empty
- getMax(double[]) - Static method in class Jcg.util.Statistics
-
Compute the maximum of the value in the array
- getMin(double[]) - Static method in class Jcg.util.Statistics
-
Compute the minimum of the value in the array
- getNext() - Method in class Jcg.polyhedron.Halfedge
- getNext() - Method in class Jcg.triangulations2D.HalfedgeHandle
-
returns next half-edge in ccw order in the same face.
- getNext() - Method in class Jcg.util.DListNode
- getNextBoundaryHalfedge(Halfedge<X>) - Method in class Jcg.mesh.MeshBuilder
-
Given a boundary half-edge e, returns the next boundary half-edge around the same face Warning: the mesh is supposed to be manifold (boundary cycles are disjoint)
- getOpposite() - Method in class Jcg.polyhedron.Halfedge
- getOpposite() - Method in class Jcg.triangulations2D.HalfedgeHandle
-
returns opposite half-edge (lying in the adjacent face).
- getOutgoingHalfedges() - Method in class Jcg.polyhedron.Vertex
-
Return the list of the (outgoing) halfedges incident to the vertex
- getPercentile(double[]) - Static method in class Jcg.util.Statistics
-
Given a sorted array as input, it returns the following 5 values:
-) 0 percentile (minimum)
-) 25 percentile
-) 50 percentile (median)
-) 75 percentile
-) 100 percentile (maximum) - getPlanarMesh(String) - Static method in class Jcg.mesh.MeshLoader
-
Load a planar mesh embedded in 2D (Polyhedron_3
) from an .off file It uses a shared vertex representation as intermediate data structure - getPlaneTriangulationFromFile(String) - Static method in class Jcg.mesh.Triangulations_IO
-
Create a Triangle Data Structure for a given plane triangulation (from a file).
- getPoint() - Method in class Jcg.polyhedron.Vertex
- getPoint() - Method in class Jcg.triangulations2D.TriangulationDSVertex_2
-
returns the geometric point associated with the vertex.
- getPrev() - Method in class Jcg.polyhedron.Halfedge
- getPrev() - Method in class Jcg.triangulations2D.HalfedgeHandle
-
returns the previous half-edge in ccw order in the same face.
- getPrev() - Method in class Jcg.util.DListNode
- getRadiusAndDiameter() - Method in class Jcg.util.MeshStatistics
-
Return the 'radius' and 'diameter' of the graph
- getRandomPlanarTriangulation(int) - Static method in class Jcg.mesh.MeshLoader
-
Generating a random planar triangulation of size n+2 (with uniform distribution)
- getSecond() - Method in class Jcg.geometry.IntegerPair
- getSecond() - Method in class Jcg.geometry.Pair
- getSeparatingCycles(Halfedge<X>) - Method in class Jcg.polyhedron.Polyhedron_3
-
Return all separating separating containing the half-edge 'e1'.
- getSeparatingTriangles() - Method in class Jcg.polyhedron.Polyhedron_3
-
Return all separating separating in the triangulation
Warnings:
-) it assumes that all edges and vertices have an index
-) it works only for (closed) triangulations - getSortedVertices(Halfedge[]) - Static method in class Jcg.polyhedron.SeparatingTriangle
- getSource() - Method in class Jcg.triangulations2D.HalfedgeHandle
-
returns the source vertex incident to the half-edge.
- getStart() - Method in class Jcg.util.DLinkedList
-
Return the 'start' of the list: useful for creating circular lists
- getSurfaceMesh(String) - Static method in class Jcg.mesh.MeshLoader
-
Load a surface mesh embedded in 3D (Polyhedron_3
) from an OFF or OBJ file It uses a shared vertex representation as intermediate data structure - getTriangleMeshFromFile(String) - Static method in class Jcg.mesh.Triangulations_IO
-
Create a Triangle Data Structure for a given 3D surface mesh (from a file).
- getTriangles(TriangulationDS_2<Point_2>) - Static method in class Jcg.mesh.Triangulations_IO
-
Return the (geometric) triangles of a 2D triangulation (useful for 2D rendering)
- getValue() - Method in class Jcg.viewer.processing3d.ArcBall.Quat
- getVertex() - Method in class Jcg.polyhedron.Halfedge
- getVertex() - Method in class Jcg.triangulations2D.HalfedgeHandle
-
returns the (destination) vertex incident the half-edge.
- getVertex(int) - Method in class Jcg.triangulations2D.HalfedgeHandle
-
returns the vertex of prescribed index in the edge: 0 for origin, 1 for destination
- getVertexCoordinates() - Method in class Jcg.polyhedron.Face
-
Return an array storing the geometric coordinates of the vertices of the face
- getVertexDegreeDistribution() - Method in class Jcg.util.MeshStatistics
-
Return the vertex degree distribution, up to degree 'max'
- getVertexDegreeEntropy() - Method in class Jcg.util.MeshStatistics
-
Return the entropy of the vertex degree sequence
- getVertexDegrees(Polyhedron_3) - Static method in class Jcg.util.MeshStatistics
-
Return the vertex degree sequence (int[] array)
Warning: the runtime complexity is not optimal (iterating over edges could be slightly faster) - getVertexDegreeSequence() - Method in class Jcg.util.MeshStatistics
-
Return the vertex degree sequence (double[] array)
- getVertexIndices(Polyhedron_3<X>) - Method in class Jcg.polyhedron.Face
-
Return an array storing the indices of the vertices in the face
- getX() - Method in class Jcg.geometry.GridPoint_2
-
Return the x-coordinate
- getX() - Method in class Jcg.geometry.GridPoint
-
Return the x-coordinate
- getX() - Method in class Jcg.geometry.GridVector_2
- getX() - Method in class Jcg.geometry.Point_2
- getX() - Method in class Jcg.geometry.Point_3
- getX() - Method in class Jcg.geometry.RationalPoint_2
-
Return the x-coordinate
- getX() - Method in class Jcg.geometry.Vector_2
- getX() - Method in class Jcg.geometry.Vector_3
- getY() - Method in class Jcg.geometry.GridPoint_2
-
Return the y-coordinate
- getY() - Method in class Jcg.geometry.GridPoint
-
Return the y-coordinate
- getY() - Method in class Jcg.geometry.GridVector_2
- getY() - Method in class Jcg.geometry.Point_2
- getY() - Method in class Jcg.geometry.Point_3
- getY() - Method in class Jcg.geometry.RationalPoint_2
-
Return the y-coordinate
- getY() - Method in class Jcg.geometry.Vector_2
- getY() - Method in class Jcg.geometry.Vector_3
- getZ() - Method in class Jcg.geometry.Point_3
- getZ() - Method in class Jcg.geometry.Vector_3
- GridPoint - Class in Jcg.geometry
-
A class for representing a 2D point (a cell) on an integer grid.
- GridPoint() - Constructor for class Jcg.geometry.GridPoint
-
Initialize an empty point
- GridPoint(int, int) - Constructor for class Jcg.geometry.GridPoint
-
Initialize an integer point having coordinates (x, y)
- GridPoint(GridPoint) - Constructor for class Jcg.geometry.GridPoint
-
Make a copy of a point q
- GridPoint_2 - Class in Jcg.geometry
-
A class for representing a 2D point on an integer grid.
- GridPoint_2() - Constructor for class Jcg.geometry.GridPoint_2
-
Initialize an empty point
- GridPoint_2(int, int) - Constructor for class Jcg.geometry.GridPoint_2
-
Initialize an integer point having coordinates (x, y)
- GridPoint_2(int, int, int) - Constructor for class Jcg.geometry.GridPoint_2
-
Initialize an integer point having coordinates (x, y), and with a given index
- GridPoint_2(GridPoint_2) - Constructor for class Jcg.geometry.GridPoint_2
-
Make a copy of a point q
- GridSegment_2 - Class in Jcg.geometry
- GridSegment_2() - Constructor for class Jcg.geometry.GridSegment_2
- GridSegment_2(GridPoint_2, GridPoint_2) - Constructor for class Jcg.geometry.GridSegment_2
- GridVector_2 - Class in Jcg.geometry
- GridVector_2() - Constructor for class Jcg.geometry.GridVector_2
- GridVector_2(int, int) - Constructor for class Jcg.geometry.GridVector_2
- GridVector_2(GridPoint_2, GridPoint_2) - Constructor for class Jcg.geometry.GridVector_2
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form