std-view-plan-p, std-view-persp-p


Synopsis

(std-view-plan-p) ; is the actual VPORT plan?

(std-view-persp-p) ; is the actual VPORT perspective?

Description

Those two functions are predicates for the actual viewport. They return T or nil if the actual viewport is PLAN or PERSPECTIVE.

PLAN means that the view mode is not perspective and that the view vector is (0 0 1) ± epsilon (which is 1e-3). You view onto your model as after the command PLAN. This is independent what parts of the model you see in the viewport.

PERSPECTIVE is needed because you cannot pick points in a perspective viewmode

Example

Arguments

None

Return Value

T or nil.

Side Effects

None.

Module

(std-require 'STDTBL)

Defined in STDTBL