<<Type>> GM_Triangle {Analysis} derived from: GM_Polygon

Documentation
A GM_Triangle is a planar GM_Polygon defined by 3 corners; that is, a GM_Triangle would be the result of a constructor of the form:
GM_Polygon(GM_LineString(<P1, P2, P3, P1>))

where P1, P2, and P3 are three GM_Positions. GM_Triangles have no holes. GM_Triangle shall be used to construct GM_TriangulatedSurfaces.

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:


Parent PackageCoordinate geometryAbstractNo
Export ControlPublicAccessLink Class forNone
Class KindNormalClassCardinalityn
Space ConcurrencySequential
PersistenceYes  


Operations
NameSignatureClass
GM_PolygonGM_Polygon GM_Polygon (GM_SurfaceBoundary boundary)GM_Polygon
GM_PolygonGM_Polygon GM_Polygon (GM_SurfaceBoundary boundary, GM_Surface spanSurf)GM_Polygon
boundaryGM_SurfaceBoundary boundary ()GM_SurfacePatch


Attributes
NameClassTypeInitial Value
corners[3]GM_TriangleGM_Position 
boundaryGM_PolygonGM_SurfaceBoundary 
spanningSurface[0..1]GM_PolygonGM_Surface 
interpolationGM_SurfacePatchGM_SurfaceInterpolation"planar"
numDerivativesOnBoundary[0..1]GM_SurfacePatchInteger0


Associations
NameMy RoleMy ClassOther RoleOther Element
SegmentationpatchGM_TrianglesurfaceGM_TriangulatedSurface
SegmentationpatchGM_PolygonsurfaceGM_PolyhedralSurface
SegmentationpatchGM_SurfacePatchsurfaceGM_Surface


Generalization Relationships
NameClassSupplier
--Not Named--GM_TriangleGM_Polygon
--Not Named--GM_PolygonGM_SurfacePatch


Realize Relationships
NameClassSupplier
--Not Named--GM_SurfacePatchGM_GenericSurface