SbViewVolumeZNarrow Method |
Computes a narrowed view volume.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax public SbViewVolume ZNarrow(
float nearPlane,
float farPlane
)
Public Function ZNarrow (
nearPlane As Single,
farPlane As Single
) As SbViewVolume
public:
SbViewVolume ZNarrow(
float nearPlane,
float farPlane
)
member ZNarrow :
nearPlane : float32 *
farPlane : float32 -> SbViewVolume
Parameters
- nearPlane
- Type: SystemSingle
Near plane distance. - farPlane
- Type: SystemSingle
Far plane distance.
Return Value
Type:
SbViewVolumeNarrowed view volume.
Remarks
Computes a narrowed view volume which contains as tightly as possible the given
interval on the z axis (in eye space). The returned view volume will never be
larger than the current volume, however.
nearPlane and
farPlaneare given in terms of
ZVector:
this means that
nearPlane >
farPlane must hold.
See Also