Skip to main content

Mechanical scripting interface

GeometryRayCastHit

Last update: 14.01.2025

class Ansys.Mechanical.Selection.GeometryRayCastHit

Bases: object

GeometryRayCastHit, contains geoEntity and vector normal

Overview

Properties

Name Description
Entity Geometry entity hit by ray cast
HitVector BoundVector with location and normal direction on geometry entity to ray cast

Property detail

property GeometryRayCastHit.Entity : Ansys.ACT.Interfaces.Geometry.IGeoEntity | None

Geometry entity hit by ray cast

property GeometryRayCastHit.HitVector : Ansys.Mechanical.Math.BoundVector | None

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