clocksense: Functions for directed arcs

Description Usage Arguments Details Author(s) Examples

Description

Functions for clocksense, i.e. directed arcs

Usage

1
2
3
4
IsCounterCl2( U, V, ref )
IsCounterCl3( U, V, W, ref )
ClockSense2( U, V, ref )
ClockSense3( U, V, W, ref )

Arguments

ref,U,V,W

Real

Details

CounterClock, NoneClock, Clockwise = "clckws", "Cntclck","noneclck", "clckws"
ClockSense2 Return the clock sense of U and V
ClockSense3 Return the clock sense of U, V, W
IsCounterCl2 Check if the directed angle from U towards W is counter clockwise, including U==W. Ref is the measure of a full circle, 360 for degrees, 2*Pi for radians, 400 for gon
IsCounterCl3 Check if U, V, W form a counterclock wise sequence.

Author(s)

Christian W. Hoffmann <christian@echoffmann.ch>

Examples

1
2
3
ClockSense2(0,220,360) # "clckws"
ClockSense2(0,170,360) # "Cntclck"
ClockSense2(0,0,360) # "noneclck"

cwhmisc documentation built on May 1, 2019, 7:55 p.m.