Distance from Objects
Distance from Objects compares objects of interest to base (reference) objects and applies colours by the distances between the objects, according to the criteria specified in the colour scheme editor.
Note: The Distance from Objects tool can compare spatial objects of any type.
Colouring by distance is useful for comparing as-built surfaces against design models to highlight non-conformance. You can also use it to identify changes between scans of the same area, such as a slow moving failure in an open-pit mine.
To colour by distance, proceed as follows:
-
On the Home tab, in the Colour group, click
Distance from objects.
-
Populate the Base object(s) field with at least one reference object.
-
Select the objects of interest in the project explorer or view window.
-
From Measurement targets, select one of the following options:
-
Closest object to colour object points by distance from the closest base object.
-
Average to colour object points by the average distance to all base objects.
-
-
From Distance type, select one of the following options:
-
Signed to colour by distance and direction from base surfaces. Direction is determined by comparison with facet normals of the base surface. For example, positive distances indicate points are on the same side as facet normals (i.e. in front of the surface).
Note: Signed is only enabled when all objects in the Base object(s) list are surfaces.
-
Absolute to colour by the distance only.
-
-
From the Measurement Direction drop-down, select one of the following:
Closest point to colour by the distance to the nearest base point.
Closest point (vertical component) to colour by only the vertical component of the distance to the nearest base point. That is,
.
Closest point (horizontal component) to colour by only the horizontal component of the distance to the nearest base point. That is,
.
Closest vertical point to colour by the distance to the nearest base point directly above or below the selection point.
Closest horizontal point to colour by the distance to the nearest base point on the same XY plane (i.e. with the same Z-value) as the selection point.
-
If you selected either Closest vertical point or Closest horizontal point in the previous step, No measurement colour is enabled. Select a distinctive colour to apply to any selection points for which there are no corresponding base object points.
-
If you choose Closest vertical point, the No measurement colour is applied to object point 1 because there is no base object point above or below.
-
If you choose Closest horizontal point, the No measurement colour is applied to object point 2 because there is no base object point on the same horizontal plane.
-
-
Adjust the colour scale as required. See Modifying a Colour Scale for detailed instructions.
TipTo make quick changes to the scale, click Calculate range, enter the required interval settings, then click OK.
-
Select Create contours to make contours of selected surfaces based on the distances from the base objects.
The contours will be spaced according to the colour band interval. They will be saved in thecontourscontainer and loaded into the active view window.Note: Create contours is only available when you select at least one surface as an object of interest.
-
Select Create legend to add a legend indicating the colour scale. Double-click on the legend in the project explorer to view it.
-
Select Create histogram to generate a graph displaying the distribution of data in front of and behind the surface. The chart will be placed in a secondary container called
colour by distance from objects legend. Double-click on the container to view the chart. -
Select Output distances to file to save a CSV file listing the points of the selected surface and the distances from the base objects. Browse to and enter the Output file name and path.
Note: If there is no measurement available for a point, the CSV file will record the error code
1.#QOin the <D> (distance) column. You should remove or filter affected rows before doing any other processing with the CSV file. -
Click OK or Apply.
A surface coloured by distance from objects (left) and corresponding histogram (right).