Writes terrain measurement points and breakline vertices to a multipoint feature class for a given area of interest and terrain pyramid level.
[Visual Basic .NET] Public Sub QueryAsFeatureClass ( _ ByVal pFeatureClass As IFeatureClass, _ ByVal pAreaOfInterest As IEnvelope, _ ByVal Resolution As Double, _ ByVal pTrackCancel As ITrackCancel _ )
[C#] public void QueryAsFeatureClass ( IFeatureClass pFeatureClass, IEnvelope pAreaOfInterest, double Resolution, ITrackCancel pTrackCancel );
[C++]
HRESULT QueryAsFeatureClass(
IFeatureClass* pFeatureClass,
IEnvelope* pAreaOfInterest,
double Resolution,
ITrackCancel* pTrackCancel
);
[C++]Parameters
pFeatureClass [in]pFeatureClass is a parameter of type IFeatureClass
pAreaOfInterest [in]pAreaOfInterest is a parameter of type IEnvelope
Resolution [in] Resolution is a parameter of type double pTrackCancel [in]pTrackCancel is a parameter of type ITrackCancel
Product Availability
Description
FeatureClass is an existing, z-aware, multipoint or point feature class that shapes will be added to. The shapes are those measurement points and breakline vertices that would be used to construct a terrain representation based on the following parameters.
AreaOfInterest (AOI) is an envelope that indicates the area of the terrain to be extracted. If a NULL is passed the entire extent is used.
Resolution is used to indicate which pyramid level to extract from. The pyramid level with a resolution (e.g. z-tolerance) that is equal to or better than the value specified will be used. For example, take a terrain that has pyramids with resolutions 1.0, 2.5, and 5.0. If you give a value of 2.5 then the 2.5 resolution pyramid level is used. If you give 2.4 then the pyramid with a resolution of 1 is used. Specify a value of -1 to obtain the terrain's overview representation.
TrackCancel is a pointer to a CancelTracker object. If you are not interested in supporting a user cancel operation then pass a NULL pointer ('Nothing' in VB).