Share

GridSurface Methods

The GridSurface type exposes the following members.

Methods

 NameDescription
Public methodAddPoint Adds a point to the GridSurface.
Public methodComputeFingerPrint Compute FingerPrint of the Entity.
(Inherited from Entity)
Public methodStatic memberCreate(Database, String, Double, Double, Double) Creates a new instance of a GridSurface and adds it to the specified database.
Public methodStatic memberCode exampleCreate(String, Double, Double, Double, ObjectId) Creates a new instance of a GridSurface and adds it to the database that contains styleId.
Public methodStatic memberCreateFromDEM(Database, String) Creates a new instance of a GridSurface from a DEM file and adds it to the specified database.
Public methodStatic memberCode exampleCreateFromDEM(String, ObjectId) Creates a new instance of a GridSurface from a DEM file and adds it to the database that contains styleId.
Public methodCode exampleCreateSnapshot Creates a snapshot that contains the current state of points and triangles resulting from previous Surface operations. A snapshot can improve the performance of Surface builds from subsequent operations.
(Inherited from Surface)
Public methodDeleteLine Deletes a line from the GridSurface object.
Public methodDeleteLines Deletes multiple lines from the GridSurface object.
Public methodDeletePoint Deletes a point from the GridSurface object.
Public methodDeletePoints Deletes multiple points from the GridSurface object.
Public methodExportToDEM(String, String, Double, ExportDetermineElevationType) Exports the Surface to a DEM file.
(Inherited from Surface)
Public methodExportToDEM(String, String, Double, ExportDetermineElevationType, Boolean, Single) Exports the surface to a DEM file, with an optional custom value for null elevation.
(Inherited from Surface)
Public methodCode exampleExtractBorder Extracts the surface border information from the terrain surface.
Public methodCode exampleExtractContours(Double) Extracts the surface contour information from the terrain surface at a specified elevation interval.
Public methodCode exampleExtractContours(Double, ContourSmoothingType, Int32) Extracts the surface contour information from the terrain surface at a specified elevation interval with smoothing.
Public methodCode exampleExtractContours(Double, Double, Double) Extracts the surface contour information from the terrain surface at a specified elevation range and interval.
Public methodCode exampleExtractContours(Double, Double, Double, ContourSmoothingType, Int32) Extracts the surface contour information from the terrain surface at a specified elevation range and interval with smoothing.
Public methodCode exampleExtractContoursAt(Double) Extracts the surface contour information from the terrain surface at a specified elevation.
Public methodCode exampleExtractContoursAt(Double, ContourSmoothingType, Int32) Extracts the surface contour information from the terrain surface at a specified elevation with smoothing.
Public methodCode exampleExtractGridded Extracts the surface grid information from the terrain surface.
Public methodCode exampleExtractMajorContours(SurfaceExtractionSettingsType) Extracts the surface major contour information from the terrain surface.
Public methodCode exampleExtractMajorContours(SurfaceExtractionSettingsType, ContourSmoothingType, Int32) Extracts the surface major contour information from the terrain surface.
Public methodCode exampleExtractMinorContours(SurfaceExtractionSettingsType) Extracts the surface minor contour information from the terrain surface.
Public methodCode exampleExtractMinorContours(SurfaceExtractionSettingsType, ContourSmoothingType, Int32) Extracts the surface minor contour information from the terrain surface.
Public methodCode exampleExtractWatershed Extracts the surface watershed information from the terrain surface.
Public methodFindCellAtXY Finds the grid cell containing location (x, y).
Public methodFindDirectionAtXY Gets the direction of the Surface at the specified location (x, y).
(Inherited from Surface)
Public methodFindEdgeAtXY Finds out the closest GridSurfaceEdge near location (x, y).
Public methodFindElevationAtXY Gets the elevation of the Surface at the specified location (x, y).
(Inherited from Surface)
Public methodFindPointsAlongLine Gets the points on the surface along the specified line segment.
(Inherited from Surface)
Public methodFindSlopeAtXY Gets the slope of the Surface at the specified location (x, y).
(Inherited from Surface)
Public methodFindVertexAtXY Finds out the closest GridSurfaceVertex near location (x, y).
Public methodCode exampleGetBoundedVolumes(Point3dCollection) Calculates the volume of an area defined by several points.
(Inherited from Surface)
Public methodCode exampleGetBoundedVolumes(Point3dCollection, Double) Calculate the volume of an area defined by several points.
(Inherited from Surface)
Public methodGetCells Gets all cells in the GridSurface.
Public methodCode exampleGetGeneralProperties Gets the general properties of the surface.
(Inherited from Surface)
Public methodCode exampleGetGridProperties Gets the Grid properties of the surface.
Public methodGetIntersectionPoint Gets the intersection point with surface by the specified point and vector.
(Inherited from Surface)
Public methodCode exampleGetReferenceInfo For Data Shortcut reference entity (IsReferenceObject == true), gets the entity's reference information.
(Inherited from Entity)
Public methodGetTerrainProperties Gets the Terrain properties of the surface.
Public methodGetVertices Gets all vertices in the GridSurface.
Public methodRaisePoints Raises or lowers multiple points in the GridSurface object.
Public methodCode exampleRaiseSurface Raises or lowers the surface.
Public methodCode exampleRebuild Rebuilds the surface by processing all the operations one by one in the list.
(Inherited from Surface)
Public methodCode exampleRebuildSnapshot Rebuilds the snapshot for the surface.
(Inherited from Surface)
Public methodCode exampleRemoveSnapshot Removes the existing snapshot for the surface.
(Inherited from Surface)
Public methodCode exampleSampleElevations(ObjectId) Gets the sampled points along a curve entity.
Public methodSampleElevations(Point3d, Point3d) 
Public methodSetPointElevation Sets the elevation of a point in the GridSurface object.
Public methodSetPointsElevation Sets the elevation of multiple points in the GridSurface object.

See Also

Reference

Was this information helpful?