HitTest method

Performs a hit test on the section plane.

See Also | Example

Signature

object.HitTest(varPtHit, pHit As Boolean, pSegmentIndex As Long, pPtOnSegment, pSubItem As AcSectionSubItem)

object

Section
The object or objects to which this method applies.

varPtHit

Variant; input-only
Point at which to perfom the hit test.

pHit

Boolean; output-only
True if the given point lies on the section plane.

pSegmentIndex

Integer; output-only
Index of segment on the section line that passes near or through the hit point.

pPtOnSegment

Variant; output-only
The actual point on the section plane geometry. This parameter may return nothing if this data is not required.

pSubItem

AcSectionSubItem; output-only
One or more of the SubItem enum values. This parameter may return nothing if this data is not required.