Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.Octant
Source: src/com/multiversesocial/hyperview/Octant.java

Octant

HyperView V3.2 — class
version V3.2 class

Summary

Octant — HyperView 3.2 project class.

Source file: Octant.java

Hierarchy

Extends: none

Implements: none

Referenced HyperView classes

Media files used

Declaration & members

public class Octant

Declared in src/com/multiversesocial/hyperview/Octant.java, lines 3–93. 4 field(s), 1 constructor(s), 2 method(s). Every member has an anchor you can link to (e.g. Octant.html#<id>).

Fields (4)

DeclarationValue / initializerDescriptionSource
static int[] windClockwiseX= {-1, -1, 0, 1, 1, 1, 0, -1}No comment in source; not referenced by name in this type’s methods.line 8
static int[] windClockwiseY= {0, -1, -1, -1, 0, 1, 1, 1}No comment in source; not referenced by name in this type’s methods.line 9
static int[] xOffset= {0, 1, 1, 1, 0, -1, -1, -1, 0}No comment in source; name appears in 6 other source file(s): AnimGob, Externalizer, HyperView, SerialHandler ….line 5
static int[] yOffset= {-1, -1, 0, 1, 1, 1, 0, -1, 0}No comment in source; name appears in 4 other source file(s): HyperView, SerialHandler, SerialPane, SerializedObject.line 6

Constructors (1)

SignatureDescriptionSource
public Octant()Implicit default constructor generated by the compiler (not written in the source).line 3

Methods (2)

SignatureDescriptionSource
static { … }Implicit default constructor generated by the compiler (not written in the source).implicit
public static int getOctant(int cx, int cy, int cx2, int cy2)1 statement(s).line 32

Examples

Real usage taken from elsewhere in the HyperView 3.2 source (file and line shown; source path src/com/multiversesocial/hyperview/).

static call — Spline.java, line 205

  205  int v = Octant.getOctant(x[i], y[i], x[i+1], y[i+1]);
Hits--