| RayShapeGetSupportPoint Method (Vector3F) |
Gets a support point for a given direction.
Namespace: DigitalRune.Geometry.ShapesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public override Vector3F GetSupportPoint(
Vector3F direction
)
Public Overrides Function GetSupportPoint (
direction As Vector3F
) As Vector3F
public:
virtual Vector3F GetSupportPoint(
Vector3F direction
) override
abstract GetSupportPoint :
direction : Vector3F -> Vector3F
override GetSupportPoint :
direction : Vector3F -> Vector3F
Parameters
- direction
- Type: DigitalRune.Mathematics.AlgebraVector3F
The direction for which to get the support point. The vector does not need to be normalized.
The result is undefined if the vector is a zero vector.
Return Value
Type:
Vector3FA support point regarding the given direction.
Remarks
A support point regarding a direction is an extreme point of the shape that is furthest away
from the center regarding the given direction. This point is not necessarily unique.
See Also