Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / Entity Class / IsInFrustum Method / IsInFrustum(FrustumParams,Point3D,Double) Method
The frustum data
Center of the sphere (transformed by the scene transformation)
Radius of the sphere (scaled by the maximum scale applied by the scene transformation)

In This Topic
    IsInFrustum(FrustumParams,Point3D,Double) Method
    In This Topic
    Tells if the sphere surrounding the entity is inside the frustum planes.
    Syntax
    'Declaration
     
    Public Overloads Overridable Function IsInFrustum( _
       ByVal data As FrustumParams, _
       ByVal center As Point3D, _
       ByVal radius As Double _
    ) As Boolean
    public virtual bool IsInFrustum( 
       FrustumParams data,
       Point3D center,
       double radius
    )

    Parameters

    data
    The frustum data
    center
    Center of the sphere (transformed by the scene transformation)
    radius
    Radius of the sphere (scaled by the maximum scale applied by the scene transformation)

    Return Value

    True if the sphere is inside the frustum planes.
    Remarks
    It's important when applying an on-the-fly transformation in the BlockReference.MoveTo to override this method and call the base method with the center transformed in the same way, in order to avoid undesired clipping.
    See Also