Drawing3d documented Class Library

Surface.getCross Method

This method calculates a crosspoint of a LineType with the surface, if this exists. In that case the crosspoint is given by the values u and v and can be calculated with the Value-function

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

Parameters

L
A LineType
u
return value u to calculate the crosspoint
v
return value v to calculate the crosspoint

Return Value

if the line crosses the surface then the result is true else it is false

See Also

Surface Class | Drawing3d.Surfaces Namespace