Class TLcdGML31Tin

All Implemented Interfaces:
ILcdDataObject, ILcdBounded, ILcdEditableShapeList, ILcdShape, ILcdShapeList, ILcdCloneable, ILcdDeepCloneable, ILcdFeatured, ILcdInvalidateable, ILcdSelfDescribedFeatured, Serializable, Cloneable

public class TLcdGML31Tin extends TLcdGML31TriangulatedSurface
A tin is a triangulated surface that uses the Delauny algorithm or a similar algorithm complemented with consideration of breaklines, stoplines, and maximum length of triangle sides. These networks satisfy the Delauny's criterion away from the modifications: Fore each triangle in the network, the circle passing through its vertices does not contain, in its interior, the vertex of any other triangle.
Since:
10.0
See Also:
  • Field Details

    • STOP_LINES_PROPERTY

      public static final TLcdDataProperty STOP_LINES_PROPERTY
      Data property that maps to the stopLines element. The possible values for this property are instances of List<TLcdGML31LineStringSegmentArrayProperty>.
    • BREAK_LINES_PROPERTY

      public static final TLcdDataProperty BREAK_LINES_PROPERTY
      Data property that maps to the breakLines element. The possible values for this property are instances of List<TLcdGML31LineStringSegmentArrayProperty>.
    • MAX_LENGTH_PROPERTY

      public static final TLcdDataProperty MAX_LENGTH_PROPERTY
      Data property that maps to the maxLength element. The possible values for this property are instances of TLcdGML31Length.
    • CONTROL_POINT_PROPERTY

      public static final TLcdDataProperty CONTROL_POINT_PROPERTY
      Data property that maps to the controlPoint element. The possible values for this property are instances of ControlPoint.
    • PATCHES_PROPERTY

      public static final TLcdDataProperty PATCHES_PROPERTY
      Data property that maps to the patches element. The possible values for this property are instances of TLcdGML31SurfacePatchArrayProperty.
    • GID_PROPERTY

      public static final TLcdDataProperty GID_PROPERTY
      Property that maps on the gid attribute. Acceptable values for this property are instances of java.lang.String.
  • Constructor Details

    • TLcdGML31Tin

      public TLcdGML31Tin()
    • TLcdGML31Tin

      public TLcdGML31Tin(TLcdDataType aType)
  • Method Details

    • getStopLines

      public List<List<TLcdGML31LineStringSegment>> getStopLines()
      Gets the value of the STOP_LINES_PROPERTY property adapted to a list of List instances.

      Stoplines are lines where the local continuity or regularity of the surface is questionable. In the area of these pathologies, triangles intersecting a stopline shall be removed from the tin surface, leaving holes in the surface. If coincidence occurs on surface boundary triangles, the result shall be a change of the surface boundary. Stoplines contains all these pathological segments as a set of line strings.

      Returns:
      the value of the STOP_LINES_PROPERTY property adapted to a list of List instances.
      See Also:
    • getBreakLines

      public List<List<TLcdGML31LineStringSegment>> getBreakLines()
      Gets the value of the BREAK_LINES_PROPERTY property adapted to a list of List instances.

      Breaklines are lines of a critical nature to the shape of the surface, representing local ridges, or depressions (such as drainage lines) in the surface. As such their constituent segments must be included in the tin eve if doing so violates the Delauny criterion. Break lines contains these critical segments as a set of line strings.

      Returns:
      the value of the BREAK_LINES_PROPERTY property adapted to a list of List instances.
      See Also:
    • getMaxLength

      public TLcdGML31Length getMaxLength()
      Returns the value of the property that maps to the maxLength element.

      Areas of the surface where data is not sufficiently dense to assure reasonable calculation shall be removed by adding a retention criterion for triangles based on the length of their sides. For many triangle sides exceeding maximum length, the adjacent triangles to that triangle side shall be removed from the surface.

      Returns:
      the value of the MAX_LENGTH_PROPERTY property.
    • setMaxLength

      public void setMaxLength(TLcdGML31Length aValue)
      Sets the value of the property that maps to the maxLength element.

      Areas of the surface where data is not sufficiently dense to assure reasonable calculation shall be removed by adding a retention criterion for triangles based on the length of their sides. For many triangle sides exceeding maximum length, the adjacent triangles to that triangle side shall be removed from the surface.

      Parameters:
      aValue - the value to set for the MAX_LENGTH_PROPERTY property.
    • getControlPoint

      public TLcdGML31Tin.ControlPoint getControlPoint()
      Returns the value of the property that maps to the controlPoint element.

      The corners of the triangles in the TIN are often referred to as pots. ControlPoint shall contain a set of the GM_Position used as posts for this TIN. Since each TIN contains triangles, there must be at least 3 posts. The order in which these points are given does not affect the surface that is represented. Application schemas may add information based on ordering of control points to facilitate the reconstruction of the TIN from the control points.

      Returns:
      the value of the CONTROL_POINT_PROPERTY property.
    • setControlPoint

      public void setControlPoint(TLcdGML31Tin.ControlPoint aValue)
      Sets the value of the property that maps to the controlPoint element.

      The corners of the triangles in the TIN are often referred to as pots. ControlPoint shall contain a set of the GM_Position used as posts for this TIN. Since each TIN contains triangles, there must be at least 3 posts. The order in which these points are given does not affect the surface that is represented. Application schemas may add information based on ordering of control points to facilitate the reconstruction of the TIN from the control points.

      Parameters:
      aValue - the value to set for the CONTROL_POINT_PROPERTY property.
    • getPatches

      public List<TLcdGML31AbstractSurfacePatch> getPatches()
      Returns the role value contained in the value of the PATCHES_PROPERTY property. Returns null if the value of the PATCHES_PROPERTY property is null.

      This property element contains a list of surface patches. The order of the elements is significant and shall be preserved when processing the array.

      Returns:
      the role value of the PATCHES_PROPERTY property.
      See Also:
    • setPatches

      public void setPatches(List<TLcdGML31AbstractSurfacePatch> aValue)
      Sets the value of the property that maps to the patches element. to a new instance of the association class TLcdGML31SurfacePatchArrayProperty initialized with the given role value. In case the given role value is null, the PATCHES_PROPERTY property is set to null.

      This property element contains a list of surface patches. The order of the elements is significant and shall be preserved when processing the array.

      Parameters:
      aValue - the role value to set for the PATCHES_PROPERTY property.
    • getGid

      public String getGid()
      Gets the value of the GID_PROPERTY property.

      This attribute is included for backward compatibility with GML 2 and is deprecated with GML 3. This identifer is superceded by "gml:id" inherited from AbstractGMLType. The attribute "gid" should not be used anymore and may be deleted in future versions of GML without further notice.

      Returns:
      the value of the GID_PROPERTY property.
    • setGid

      public void setGid(String aValue)
      Sets the value of the GID_PROPERTY property.

      This attribute is included for backward compatibility with GML 2 and is deprecated with GML 3. This identifer is superceded by "gml:id" inherited from AbstractGMLType. The attribute "gid" should not be used anymore and may be deleted in future versions of GML without further notice.

      Parameters:
      aValue - the value to set for the GID_PROPERTY property.