Sets up an orthographic view volume with the given sides.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax public void Ortho(
float left,
float right,
float bottom,
float top,
float nearPlane,
float farPlane
)
Public Sub Ortho (
left As Single,
right As Single,
bottom As Single,
top As Single,
nearPlane As Single,
farPlane As Single
)
public:
void Ortho(
float left,
float right,
float bottom,
float top,
float nearPlane,
float farPlane
)
member Ortho :
left : float32 *
right : float32 *
bottom : float32 *
top : float32 *
nearPlane : float32 *
farPlane : float32 -> unit
Parameters
- left
- Type: SystemSingle
The coordinate for the left-vertical clipping plane. - right
- Type: SystemSingle
The coordinates for the right-vertical clipping plane. - bottom
- Type: SystemSingle
The coordinate for the bottom-horizontal clipping plane. - top
- Type: SystemSingle
The coordinate for the top-horizontal clipping plane. - nearPlane
- Type: SystemSingle
The coordinate of the near clipping plane. The
coordinate is negative if the plane is behind the viewer. - farPlane
- Type: SystemSingle
The coordinate of the far clipping plane. The
coordinate is negative if the plane is behind the viewer.
Remarks
The parameters are the same as for the OpenGL glOrtho() routine.
See Also