The TinSurface type exposes the following members.

Methods

  NameDescription
Public methodAddLine
Adds a line to the TinSurface object.
Public methodAddVertex(Point2d)
Adds a vertex to the TinSurface object.
Public methodAddVertex(Point3d)
Adds a vertex to the TinSurface object.
Public methodAddVertices(Point2dCollection)
Adds multiple vertices to the TinSurface object.
Public methodAddVertices(Point3dCollection)
Adds multiple vertices to the TinSurface object.
Public methodComputeFingerPrint
Compute FingerPrint of the Entity.
(Inherited from Entity.)
Public methodStatic memberCreate(Database, String)
Creates a new instance of a TinSurface and adds it to the specified database.
Public methodStatic memberCreate(String, ObjectId)
Creates a new instance of a TinSurface and adds it to the database that contains styleId.
Public methodStatic memberCreateByCropping(Database, String, ObjectId, Point2dCollection)
Creates a new TinSurface by cropping from an existing source TinSurface, and then inserts the new surface into another drawing. You must specify the cropped area with at least 3 points.
Public methodStatic memberCreateByCropping(Database, String, ObjectId, Point3dCollection)
Creates a new TinSurface by cropping from an existing source TinSurface, and then inserts the new surface into another drawing. You must specify at least 3 points as the cropped area.
Public methodStatic memberCreateByCropping(Database, String, ObjectId, ObjectIdCollection, Point2d)
Creates a new TinSurface by cropping from a source TinSurface, and then inserts the new surface into another drawing. You must specify a cropped area with at least one AutoCAD drawing object.
Public methodStatic memberCreateFromCorridorSurface
Creates a new TinSurface from corridor surface.
Public methodStatic memberCreateFromIMX
Creates a new instance of a TinSurface from a specified IMX file to the specified database.
Public methodStatic memberCreateFromLandXML(Database, String, String) Obsolete.
Creates a new instance of a TinSurface from a specified LandXML file, and adds it to the specified database.
Public methodStatic memberCreateFromLandXML(Database, String, String, String)
Creates a new instance of a TinSurface from a specified surface in the LandXML file, and adds it to the specified database. If the specified surface name does not exist in the LandXML file, this function will create an empty surface in the specified database.
Public methodStatic memberCreateFromTin
Creates a new instance of a TinSurface from a specified TIN file, and adds it to the specified database.
Public methodCreateSnapshot
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 methodCreateSolidsAtDepth
Generate a solid with constant depth from a surface
Public methodCreateSolidsAtDepthToFile
Generate a solid with constant depth from a surface and save solid to file
Public methodCreateSolidsAtFixedElevation
Generate a solid at certain elevation from a surface
Public methodCreateSolidsAtFixedElevationToFile
Generate a solid at elevation from a surface and save solid to file
Public methodCreateSolidsAtSurface
Generate a solid at intersection of two surfaces.
Public methodCreateSolidsAtSurfaceToFile
Generate a solid at elevation from a surface and save solid to file
Public methodDeleteLine
Deletes a line from the TinSurface object.
Public methodDeleteLines
Deletes multiple lines from the TinSurface object.
Public methodDeleteVertex
Deletes a vertex from the TinSurface object.
Public methodDeleteVertices
Deletes multiple vertices from the TinSurface 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 methodExtractBorder
Extracts the surface border information from the terrain surface.
Public methodExtractContours(Double)
Extracts the surface contour information from the terrain surface at a specified elevation interval.
Public methodExtractContours(Double, ContourSmoothingType, Int32)
Extracts the surface contour information from the terrain surface at a specified elevation interval with smoothing.
Public methodExtractContours(Double, Double, Double)
Extracts the surface contour information from the terrain surface at a specified elevation range and interval.
Public methodExtractContours(Double, Double, Double, ContourSmoothingType, Int32)
Extracts the surface contour information from the terrain surface at a specified elevation range and interval with smoothing.
Public methodExtractContoursAt(Double)
Extracts the surface contour information from the terrain surface at a specified elevation.
Public methodExtractContoursAt(Double, ContourSmoothingType, Int32)
Extracts the surface contour information from the terrain surface at a specified elevation with smoothing.
Public methodExtractGridded
Extracts the surface grid information from the terrain surface.
Public methodExtractMajorContours(SurfaceExtractionSettingsType)
Extracts the surface major contour information from the terrain surface.
Public methodExtractMajorContours(SurfaceExtractionSettingsType, ContourSmoothingType, Int32)
Extracts the surface major contour information from the terrain surface.
Public methodExtractMinorContours(SurfaceExtractionSettingsType)
Extracts the surface minor contour information from the terrain surface.
Public methodExtractMinorContours(SurfaceExtractionSettingsType, ContourSmoothingType, Int32)
Extracts the surface minor contour information from the terrain surface.
Public methodExtractWatershed
Extracts the surface watershed information from the terrain surface.
Public methodFindDirectionAtXY
Gets the direction of the Surface at the specified location (x, y).
(Inherited from Surface.)
Public methodFindEdgeAtXY
Finds the closest TinSurfaceEdge 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 methodFindTriangleAtXY
Finds the TinSurfaceTriangle which contains location (x, y).
Public methodFindVertexAtXY
Finds the closest TinSurfaceVertex near location (x, y).
Public methodGetBoundedVolumes(Point3dCollection)
Calculates the volume of an area defined by several points.
(Inherited from Surface.)
Public methodGetBoundedVolumes(Point3dCollection, Double)
Calculate the volume of an area defined by several points.
(Inherited from Surface.)
Public methodGetGeneralProperties
Gets the general properties of the surface.
(Inherited from Surface.)
Public methodGetIntersectionPoint
Gets the intersection point with surface by the specified point and vector.
(Inherited from Surface.)
Public methodGetReferenceInfo
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 methodGetTinProperties
Gets the TIN properties of the surface.
Public methodGetTriangles
Gets all the vertices in the TinSurface.
Public methodGetVerticesInsideBorder
Gets an array that contains all the TinSurfaceVertex objects inside the border specified by a Point3d collection.
Public methodGetVerticesInsideBorderRandom
Gets an array that contains a random selection of TinSurfaceVertex objects inside the border specified by a Point3d collection.
Public methodGetVerticesInsidePolylines
Gets an array that contains all the TinSurfaceVertex objects inside the polyline.
Public methodGetVerticesInsidePolylinesRandom
Gets an array that contains a random sample of TinSurfaceVertex objects inside the polyline.
Public methodIdentifyFeatureTypeAtXY
Identifies the specific surface feature (triangle, edge, vertex) at a specified point.
Public methodMinimizeFlatAreas
Minimizes flat areas in a surface.
Public methodMoveVertex
Moves a vertex in the TinSurface object on the XY plane.
Public methodPasteSurface
Pastes a surface into the current surface.
Public methodRaiseSurface
Raises or lowers the surface.
Public methodRaiseVertices
Raises or lowers multiple vertices in the TinSurface object.
Public methodRebuild
Rebuilds the surface by processing all the operations one by one in the list.
(Inherited from Surface.)
Public methodRebuildSnapshot
Rebuilds the snapshot for the surface.
(Inherited from Surface.)
Public methodRemoveSnapshot
Removes the existing snapshot for the surface.
(Inherited from Surface.)
Public methodSampleElevations(ObjectId)
Gets the sampled points along a curve entity.
Public methodSampleElevations(Point3d, Point3d)
Public methodSetVertexElevation
Sets the elevation of a vertex in the TinSurface object.
Public methodSetVerticesElevation
Sets the elevation of multiple vertices in the TinSurface object.
Public methodSimplifySurface
Reduces the number of points on TIN surface, making the surface file smaller and easier to process.
Public methodSmoothSurfaceByKriging
Smooths the surface using the Kriging method.
Public methodSmoothSurfaceByNNI
Smooths the surface using the Natural Neighbor Interpolation (NNI) method.
Public methodSwapEdge
Swaps edges in order to change the direction of two triangle faces in a surface model.

Properties

  NameDescription
Public propertyAnalysis
Gets a SurfaceAnalysis object that exposes the surface analysis properties for the Surface.
(Inherited from Surface.)
Public propertyApplication
Gets the Application. Not currently implemented.
(Inherited from Entity.)
Public propertyAutoRebuild
Gets or sets whether to rebuild the surface when surface definition is changed.
(Inherited from Surface.)
Public propertyBoundariesDefinition
Gets the collection of boundaries associated with the Surface.
(Inherited from Surface.)
Public propertyBreaklinesDefinition
Gets the definition of breaklines associated with the surface.
Public propertyBuildOptions
Gets an object that encapsulates options applied to building or re-building a Surface.
(Inherited from Surface.)
Public propertyContoursDefinition
Gets the definition of contours associated with the surface.
Public propertyDEMFilesDefinition
Public propertyDescription
Gets or sets the Entity object's description.
(Inherited from Entity.)
Public propertyDisplayName
Gets the Entity object's display name.
(Inherited from Entity.)
Public propertyDocument
Gets the Document. Not currently implemented.
(Inherited from Entity.)
Public propertyDrawingObjectsDefinition
Gets the definition of drawing objects associated with the surface.
Public propertyFingerPrint
Gets or sets FingerPrint of the Entity.
(Inherited from Entity.)
Public propertyFolderId
Gets the folder ObjectId of the Entity Returns ObjectId::Null if the Entity is located in root folder
(Inherited from Entity.)
Public propertyHasSnapshot
Gets a boolean value that specifies whether the surface has a snapshot.
(Inherited from Surface.)
Public propertyIsOutOfDate
Gets whether this surface is out-of-date.
(Inherited from Surface.)
Public propertyIsReferencedSourceExisting
For reference object (IsReferenceObject == true), it will try to get its source entity while opening a drawing. This indicates whether the reference object has source entity.
(Inherited from Entity.)
Public propertyIsReferenceObject
Gets whether the Entity is a reference object. A reference object is located in another drawing, and linked using a data shortcut or Vault. If the entity is native to the current drawing this property returns false; if it is being referenced via data shortcuts or AutoCAD Vault it returns true.
(Inherited from Entity.)
Public propertyIsReferenceStale
For reference objects (IsReferenceObject == true), gets whether the Entity object's reference is stale.
(Inherited from Entity.)
Public propertyIsReferenceSubObject
For reference objects (IsReferenceObject == true), gets whether the Entity is a reference subobject. For example, when iterating through the structure of a pipe network referenced from another drawing, this property is true for each entity.
(Inherited from Entity.)
Public propertyIsReferenceValid
For reference objects (IsReferenceObject == true), gets whether the Entity object's reference is valid.
(Inherited from Entity.)
Public propertyIsSnapshotOutOfDate
Gets whether the snapshot in the surface is out-of-date.
(Inherited from Surface.)
Public propertyIsUsed
Gets whether the style is used by other objects in the current drawing.
(Inherited from Entity.)
Public propertyIsVolumeSurface
Gets whether the surface is a volume surface.
(Inherited from Surface.)
Public propertyLock
Gets or sets whether the Civil 3D GUI shows this surface as locked.
(Inherited from Surface.)
Public propertyMasks
Gets all the masks in the Surface.
(Inherited from Surface.)
Public propertyName
Gets or sets the Entity object's name.
(Inherited from Entity.)
Public propertyOperations
Gets the operation list for the Surface.
(Inherited from Surface.)
Public propertyPointFilesDefinition
Gets the definition of point files associated with the surface.
Public propertyPointGroupsDefinition
Gets the definition of point groups associated with the surface.
Public propertyShowToolTip
Gets or sets whether to show tooltips for the Entity.
(Inherited from Entity.)
Public propertyStyleId
Sets the Surface's style Id.
(Inherited from Surface.)
Public propertyStyleName
Gets or sets the Entity object's style name.
(Inherited from Entity.)
Public propertySurveyQueriesAddFigureDefinition
Gets the definition for figure survey adding queries associated with the surface.
Public propertySurveyQueriesAddPointDefinition
Gets the definition for survey point adding queries associated with the surface.
Public propertyTriangles
Gets all the visible triangles in the TinSurface.
Public propertyVertices
Gets all the visible vertices in the TinSurface.

See Also