std-view-plan-p, std-view-persp-p | ![]() |
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
None
T or nil.
None.
(std-require 'STDTBL)
Defined in STDTBL