Sets up an orthographic view volume with the given sides.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2025.1.2.Release.8aafb2feb11098c1e662b6a8d337b44fd757e6f1
Syntaxpublic 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