GeometryRayCastSettings#

class ansys.mechanical.stubs.v261.Ansys.Mechanical.Selection.GeometryRayCastSettings#

Bases: object

Overview#

Equals

Equals method.

GetHashCode

GetHashCode method.

GetType

GetType method.

ToString

ToString method.

CastLength

Optional; specifies maximum axial distance from BoundVector origin.

CastRadius

Optional; specifies maximum radial distance from BoundVector.

HitBodies

Specifies whether ray casting should hit bodies.

HitEdges

Specifies whether ray casting should hit edges.

HitFaces

Specifies whether ray casting should hit faces.

HitVertices

Specifies whether ray casting should hit vertices.

MaxHits

Specifies maximum number of ray casting hits.

Property detail#

property GeometryRayCastSettings.CastLength: Ansys.Core.Units.Quantity | None#

Optional; specifies maximum axial distance from BoundVector origin. Defaults to maximum needed length.

property GeometryRayCastSettings.CastRadius: Ansys.Core.Units.Quantity | None#

Optional; specifies maximum radial distance from BoundVector.

property GeometryRayCastSettings.HitBodies: bool | None#

Specifies whether ray casting should hit bodies. Defaults to false.

property GeometryRayCastSettings.HitEdges: bool | None#

Specifies whether ray casting should hit edges. Defaults to false.

property GeometryRayCastSettings.HitFaces: bool | None#

Specifies whether ray casting should hit faces. Defaults to true.

property GeometryRayCastSettings.HitVertices: bool | None#

Specifies whether ray casting should hit vertices. Defaults to false.

property GeometryRayCastSettings.MaxHits: int | None#

Specifies maximum number of ray casting hits. Defaults to 1000.

Method detail#

GeometryRayCastSettings.Equals(obj: Any) bool#

Equals method.

GeometryRayCastSettings.GetHashCode() int#

GetHashCode method.

GeometryRayCastSettings.GetType() type#

GetType method.

GeometryRayCastSettings.ToString() str#

ToString method.