Share

Hit Class

Description

This .NET class wraps the AcBrHit ObjectARX class.

The Hit class is the interface class for contexted hits generated by line containment queries. (A 'contexted' hit is one that represents a vertex in the context of line containment as applied to the topology.) This class defines the functions that are pertinent to contexted hits, and cannot be directly set by the user as the initialization requirements are only available internally at the time of a call to Entity.GetLineContainment(). It is derived from RXObject in order to provide full-service, runtime type checking, and so on.

Class Hierarchy

Autodesk.AutoCAD.BoundaryRepresentation.Hit

Visual Basic

Public sealed Class Hit
Inherits RXObject

C#

public sealed class Hit : RXObject;

Remarks

The intended use of the Hit class is to contextualize all the hit data returned by line containment queries. A hit is a point where a line is broken into segments by topological containment, or it may also correspond to one of the original end points of the line.

Links

Hit Methods, Hit Properties

See Also

Entity

Was this information helpful?