# Geometry

Geometry in the Project Settings dialog enables the geometry repair settings to be defined throughout the project.

To display the settings, select the Geometry tab in Analysis > Project Settings.

## Geometry Cleaning

### Relative Self-Intersection Tolerance

If two objects overlap by at least this much, then they are defined to be self-intersecting. The larger this value is, the more self-intersections the tool will find. Use a smaller value if you don't want to modify the geometry very much; use a larger value if the geometry is particularly bad.

### Relative Remesh Tolerance

This is the degree to which repairing will move the geometry. Use a smaller value if you don't want to modify the geometry very much; use a larger value if the geometry is particularly bad.

### Relative Remesh Edge Length

This is the target edge length. The repair tool will attempt to generate edges of this length. Use smaller values for entities with tighter curves, and larger values for entities with large, flat faces.

### Relative Hole Size

If the size (as defined above) of a gap is smaller than this, then the gap is considered a hole; otherwise, the gap is considered a feature to preserve.

The following images illustrate an example. The first image shows the two geological volumes in the model.

The second image shows the surface that separates those volumes.

A geological surface that separates two materials may have gaps where one or both of those surfaces don't exist; these gaps shouldn't be considered defects, so the Relative Hole Size parameter should be set smaller than these gaps.

### Fill Holes Smoothly

Non-smooth filling will generate a simple patch, with no attempt to match the shape at the boundary; this setting will optimize the shape of the new triangles, and the area of the new patch. Smooth hole filling attempts to match the shape of the geometry at the boundary of the hole.

### Smoothness (Parametric Continuity)

This attempts to preserve the derivatives of the surface around the boundary of the hole.

Only available when the Fill Holes Smoothly option is enabled.
• 0: The filled patch will touch the hole boundary.
• 1: The filled patch will match the first derivative at the hole boundary.
• 2: The filled patch will match the second derivative at the hole boundary.

## Remeshing

### Feature Preservation

• High

Strict detail preservation, regardless of quality (e.g. can preserve near degenerate, sliver triangles)

• Medium

The processed geometry may lose some details as it attempts to reduce the amount of bad triangles

• Low

Re-triangulate with little constraints, which can result in obvious alteration, usually for simplifying geometry

### Patch Angle Tolerance

• Ranges from 0.0 to 45 degree

The higher the value, the higher the discrepancy between original and re-triangulated geometry (High: 0.01, Medium: 1.0, Low: 20.0)

### Resolution

• Auto

Program automatically determines the resolution based on selected geometry

• Custom
• User-defined value, ranging from 10 to 10000, with default set at 100
• Defines the target size of triangle relative to the bounding box of the geometry: Box Diagonal/Resolution
• The higher the number, the finer the triangulation

## Intersecting

### Tolerance Options (High, Medium, Low)

If two objects overlap at certain tolerable value, then they are defined to be self-intersecting. Depending on the option, you can decide to apply intersecting geometry fixes without modifying the original model too much. Use a low tolerance option if you don't want to modify the geometry too much; use a high tolerance if the geometry is particularly bad.