Method SearchFaceWithRay
SearchFaceWithRay(ElementId, Axis3D, bool, bool, out Point3D)
Searches for the first face of a shape that intersects an axis.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 7, 0, 0)]
ElementItemId SearchFaceWithRay(ElementId inElementId, Axis3D inAxis, bool inUsesHalfAxis, bool inUsesApproximation, out Point3D outIntersection)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of the shape entity to analyze. |
| Axis3D | inAxis | Intersection axis. |
| bool | inUsesHalfAxis | Whether to consider only the part of the axis after its origin. |
| bool | inUsesApproximation | Whether to use approximation for faster and less precise result. |
| Point3D | outIntersection | Intersection point, if intersection found. |
Returns
| Type | Description |
|---|---|
| ElementItemId | Identifier of the first face of the specified shape that intersects the specified axis, or Empty if no intersection found. |
Remarks
This method is available since v7.7.