    

 ## On this page

  

 

 # `GeometryRayCastHit`

 Last update: 09.03.2026 

<a id="ansys.mechanical.stubs.v251.Ansys.Mechanical.Selection.GeometryRayCastHit"></a>

#### *class* Ansys.Mechanical.Selection.GeometryRayCastHit

Bases: [`object`](https://docs.python.org/3/library/functions.html#object)

GeometryRayCastHit, contains geoEntity and vector normal

<a id="overview"></a>

## Overview

### Properties

NameDescription[`Entity`](#GeometryRayCastHit.Entity)Geometry entity hit by ray cast[`HitVector`](#GeometryRayCastHit.HitVector)BoundVector with location and normal direction on geometry entity to ray cast<a id="property-detail"></a>

## Property detail

<a id="GeometryRayCastHit.Entity"></a>

### *property* GeometryRayCastHit.Entity *: Ansys.ACT.Interfaces.Geometry.IGeoEntity | [None](https://docs.python.org/3/library/constants.html#None)*

Geometry entity hit by ray cast

<a id="GeometryRayCastHit.HitVector"></a>

### *property* GeometryRayCastHit.HitVector *: [Ansys.Mechanical.Math.BoundVector](../Math/BoundVector.md#ansys.mechanical.stubs.v251.Ansys.Mechanical.Math.BoundVector) | [None](https://docs.python.org/3/library/constants.html#None)*

BoundVector with location and normal direction on geometry entity to ray cast