JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.graph.geom.Triangle Class Reference
Collaboration diagram for com.jogamp.graph.geom.Triangle:

Public Member Functions

 Triangle (final Vertex v1, final Vertex v2, final Vertex v3, final boolean[] boundaryVertices)
 
 Triangle (final Triangle src)
 
Triangle transform (final AffineTransform t)
 Returns a transformed copy of this instance using the given AffineTransform. More...
 
final boolean isOnCurve ()
 Returns true if all vertices are on-curve, otherwise false. More...
 
final boolean isLine ()
 Returns true if all vertices are lines, i.e. More...
 
int getId ()
 
void setId (final int id)
 
Vertex[] getVertices ()
 Returns array of 3 vertices, denominating the triangle. More...
 
boolean isEdgesBoundary ()
 
boolean isVerticesBoundary ()
 
boolean[] getEdgeBoundary ()
 
boolean[] getVerticesBoundary ()
 
void setVerticesBoundary (final boolean[] boundaryVertices)
 
String toString ()
 

Detailed Description

Definition at line 33 of file Triangle.java.

Constructor & Destructor Documentation

◆ Triangle() [1/2]

com.jogamp.graph.geom.Triangle.Triangle ( final Vertex  v1,
final Vertex  v2,
final Vertex  v3,
final boolean[]  boundaryVertices 
)

Definition at line 39 of file Triangle.java.

Here is the caller graph for this function:

◆ Triangle() [2/2]

com.jogamp.graph.geom.Triangle.Triangle ( final Triangle  src)

Definition at line 47 of file Triangle.java.

Here is the call graph for this function:

Member Function Documentation

◆ getEdgeBoundary()

boolean[] com.jogamp.graph.geom.Triangle.getEdgeBoundary ( )

Definition at line 112 of file Triangle.java.

◆ getId()

int com.jogamp.graph.geom.Triangle.getId ( )

Definition at line 91 of file Triangle.java.

◆ getVertices()

Vertex[] com.jogamp.graph.geom.Triangle.getVertices ( )

Returns array of 3 vertices, denominating the triangle.

Definition at line 100 of file Triangle.java.

◆ getVerticesBoundary()

boolean[] com.jogamp.graph.geom.Triangle.getVerticesBoundary ( )

Definition at line 116 of file Triangle.java.

◆ isEdgesBoundary()

boolean com.jogamp.graph.geom.Triangle.isEdgesBoundary ( )

Definition at line 104 of file Triangle.java.

◆ isLine()

final boolean com.jogamp.graph.geom.Triangle.isLine ( )

Returns true if all vertices are lines, i.e.

zero tex-coord, otherwise false.

Definition at line 85 of file Triangle.java.

Here is the call graph for this function:

◆ isOnCurve()

final boolean com.jogamp.graph.geom.Triangle.isOnCurve ( )

Returns true if all vertices are on-curve, otherwise false.

Definition at line 78 of file Triangle.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isVerticesBoundary()

boolean com.jogamp.graph.geom.Triangle.isVerticesBoundary ( )

Definition at line 108 of file Triangle.java.

◆ setId()

void com.jogamp.graph.geom.Triangle.setId ( final int  id)

Definition at line 95 of file Triangle.java.

◆ setVerticesBoundary()

void com.jogamp.graph.geom.Triangle.setVerticesBoundary ( final boolean[]  boundaryVertices)

Definition at line 120 of file Triangle.java.

◆ toString()

String com.jogamp.graph.geom.Triangle.toString ( )

Definition at line 125 of file Triangle.java.

Here is the call graph for this function:

◆ transform()

Triangle com.jogamp.graph.geom.Triangle.transform ( final AffineTransform  t)

Returns a transformed copy of this instance using the given AffineTransform.

Definition at line 67 of file Triangle.java.

Here is the call graph for this function:

The documentation for this class was generated from the following file: