ET GeoWizards Scripting
Point Angle And Position
(Go to the main page of the function)
Identifies the closest polyline from the reference layer to each point and calculates: the angle of the closest polyline segment, the position & stationing of the point along the polyline and the distance to the polyline.
Syntax
Dim ET As New ETGW_Core
Set variable = ET.PointAngleAndPosition(pInFeatureClass, pReferenceFeatureClass, _
sOutFileName, dSearchTol, pMapSref)
The PointAngleAndPosition method syntax has the following object qualifier and arguments:
| Part | Description |
|---|---|
| variable | An IFeatureClass object |
| pInFeatureClass | Required. An IFeatureClass object (Must be a Point feature class) |
| pReferenceFeatureClass | Required. An IFeatureClass object (Must be a Polyline feature class). |
| sOutFileName | Required. A String - the full name of the output feature class (A feature class with the same full name should not exist) |
| dSearchTol | Required. A Double representing the Search tolerance (in the units of the pMapSref) to be used |
| pMapSref | Required. A Spatial reference object which distance unit will be used for calculation. |