Drawing3d documented Class Library

Sphere.getCross Method

Overrides the method getCross and implements a method for get the crosspoint with a Line L, which is nearer to L.Q.

[Visual Basic]
Public Overrides Sub getCross( _
   ByVal L As LineType, _
   ByRef u As Double, _
   ByRef v As Double _
)
[C#]
public override bool getCross(
   LineType L,
   ref double u,
   ref double v
);

Parameters

L
The line, which will be crossed with the sphere
u
gets the u parameter of the cross point
v
gets the v parameter of the cross point

Return Value

false if there is no cross point.

See Also

Sphere Class | Drawing3d.Surfaces Namespace