Click or drag to resize

HitTestPointData Class

Holds information about a hitted point on the screen.
Inheritance Hierarchy
SystemObject
  Altaxo.Graph.Graph3DHitTestPointData

Namespace: Altaxo.Graph.Graph3D
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class HitTestPointData

The HitTestPointData type exposes the following members.

Constructors
 NameDescription
Public methodHitTestPointData(HitTestPointData) Copy constructor.
Public methodHitTestPointData(Matrix4x4) Constructor.
Top
Properties
 NameDescription
Public propertyHitTransformationTransformation that transform the coordinates of the object under test to hit coordinates. It is a hit if in hit coordinates the object touches the ray xhit=0, yhit=0, zhit=-Infinity to +Infinity.
Public propertyWorldTransformation Transformation that transforms the coordinates under test to world coordinates (i.e. to the graph's root layer coordinates). Upon construction this is the identity matrix. As this hit data is distributed to leaf elements, the transformation is updates, for instance by the local transformations of the layers. Intended to use for construction of the IObjectOutline objects that indicate the hitted object.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetHitTransformationWithAdditionalTransformation Gets the transformation of this item plus an additional transformation. Both together transform world coordinates to page coordinates.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsHit(RectangleD3D, Double) Determines whether the specified 3D-rectangle r is hit by a ray given by x=0, y=0, z>0.
Public methodIsHit(IEnumerablePointD3D, Double, Double) Determines whether a polyline is hit.
Public methodIsHit(LineD3D, Double, Double) 
Public methodIsHit(RectangleD3D, Matrix4x3, Double) Determines whether the specified 3D-rectangle r is hit by a ray given by x=0, y=0, z>0.
Public methodIsPlaneHitByRay Determines whether the provided plane is hit by the ray (this is almost ever the case except if the plane's normal is perpendicular to the hit ray), and determines the point on the plane that is hit.
Public methodStatic memberIsRectangleHitByRay Determines whether the specified 3D-rectangle r is hit by a ray given by the provided transformation matrix that would transform the hit ray in a ray at x=0, y=0, and z=-Infinity .. +Infinity.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodNewFromAdditionalTransformation 
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also