|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@UML(identifier="GM_Triangle",
specification=ISO_19107)
public interface Triangle
A planar polygon defined by 3 corners. That is, a triangle would be the result of a constructor
of the form: Polygon(LineString({P1, P2, P3, P1})) where P1,
P2, and P3 are three positions.
Triangles have no holes. Triangle shall be used to construct
triangulated surfaces.
Note: The points in a triangle can be located in terms of their corner points by defining a set of barycentric coordinates, three nonnegative numbers c1, c2, and c3 such that c1 + c2 + c3 = 1.0. Then, each point P in the triangle can be expressed for some set of barycentric coordinates as:
P = c1P1 + c2P2 + c3P3
| Method Summary | |
|---|---|
List<Position> |
getCorners()
Returns the triangle corner. |
TriangulatedSurface |
getSurface()
Returns the patch which own this surface patch. |
| Methods inherited from interface Polygon |
|---|
getBoundary, getSpanningSurface |
| Methods inherited from interface SurfacePatch |
|---|
getInterpolation, getNumDerivativesOnBoundary |
| Methods inherited from interface GenericSurface |
|---|
getArea, getPerimeter, getUpNormal |
| Method Detail |
|---|
@UML(identifier="corners",
obligation=MANDATORY,
specification=ISO_19107)
List<Position> getCorners()
@UML(identifier="surface",
obligation=MANDATORY,
specification=ISO_19107)
TriangulatedSurface getSurface()
getSurface in interface PolygongetSurface in interface SurfacePatchnull if the association is
not available or not implemented that way.Surface.getPatches(),
CurveSegment.getCurve()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||