RayfireOptions#
- class ansys.geometry.core.misc.options.RayfireOptions(radius: ansys.geometry.core.misc.measurements.Distance | pint.Quantity | ansys.geometry.core.typing.Real, direction: ansys.geometry.core.math.vector.UnitVector3D, max_distance: ansys.geometry.core.misc.measurements.Distance | pint.Quantity | ansys.geometry.core.typing.Real, min_distance: ansys.geometry.core.misc.measurements.Distance | pint.Quantity | ansys.geometry.core.typing.Real, tight_tolerance: bool = False, pick_back_faces: bool = False, max_hits: int = 0, request_params: bool = False, request_secondary: bool = False)#
Additional options for ray fire operations.
- Parameters:
- radius
Distance|Quantity|Real The radius of the ray. If a Real is provided, it is assumed to be in the default length unit.
- direction
UnitVector3D The direction for the ray to be fired in.
- max_distance
Distance|Quantity|Real The maximum distance the ray should travel. If a Real is provided, it is assumed to be in the default length unit.
- min_distance
Distance|Quantity|Real The minimum distance the ray should travel. If a Real is provided, it is assumed to be in the default length unit.
- tight_tolerancebool, default=False
Whether to use a tight tolerance for the ray fire operation.
- pick_back_facesbool, default=False
Whether to pick back faces during the ray fire operation.
- max_hits
int, default=0 The maximum number of hits the ray should register.
- request_paramsbool, default=False
Whether to request additional parameters for the ray fire operation.
- request_secondarybool, default=False
Whether to request secondary hits for the ray fire operation.
- radius
Overview#
Radius. |
|
Direction. |
|
Maximum distance. |
|
Minimum distance. |
|
Tight tolerance. |
|
Pick back faces. |
|
Maximum hits. |
|
Request parameters. |
|
Request secondary. |
Import detail#
from ansys.geometry.core.misc.options import RayfireOptions
Property detail#
- property RayfireOptions.radius: ansys.geometry.core.misc.measurements.Distance#
Radius.
The radius of the ray.
- property RayfireOptions.direction: ansys.geometry.core.math.vector.UnitVector3D#
Direction.
The direction for the ray to be fired in.
- property RayfireOptions.max_distance: ansys.geometry.core.misc.measurements.Distance#
Maximum distance.
The maximum distance the ray should travel.
- property RayfireOptions.min_distance: ansys.geometry.core.misc.measurements.Distance#
Minimum distance.
The minimum distance the ray should travel.
- property RayfireOptions.tight_tolerance: bool#
Tight tolerance.
Whether to use a tight tolerance for the ray fire operation.
- property RayfireOptions.pick_back_faces: bool#
Pick back faces.
Whether to pick back faces during the ray fire operation.
- property RayfireOptions.max_hits: int#
Maximum hits.
The maximum number of hits the ray should register.