Package jgl.context.clipping
Class gl_clipping
java.lang.Object
jgl.context.clipping.gl_clipping
- Direct Known Subclasses:
gl_2d_clipping
,gl_cp_clipping
,gl_vp_clipping
gl_clipping is the clipping class of jGL 2.4.
- Version:
- 0.6, 24 Nov 2006
- Author:
- Robin Bing-Yu Chen
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected gl_vertex[]
protected gl_vertex[]
clip_polygon
(gl_polygon inlist) protected gl_polygon
clip_polygon
(gl_polygon inlist, int i) protected gl_polygon
clip_polygon
(gl_polygon inlist, int i, int j) protected int[]
inter_color
(gl_vertex v1, gl_vertex v2) protected gl_vertex
inter_point
(gl_vertex v1, gl_vertex v2, int i, int j) protected gl_vertex
inter_point_neg
(gl_vertex v1, gl_vertex v2, int xy) protected gl_vertex
inter_point_pos
(gl_vertex v1, gl_vertex v2, int xy) protected float[]
boolean
IsInside
(float[] p) protected boolean
IsInside
(float[] p, int i, int j) protected boolean
IsInside_neg
(float[] p, int xy) protected boolean
IsInside_pos
(float[] p, int xy)
-
Field Details
-
CC
-
t
protected float t
-
-
Constructor Details
-
gl_clipping
public gl_clipping() -
gl_clipping
-
-
Method Details
-
inter_point_pos
-
inter_point_neg
-
inter_point
-
inter_color
-
inter_tex
-
IsInside_pos
protected boolean IsInside_pos(float[] p, int xy) -
IsInside_neg
protected boolean IsInside_neg(float[] p, int xy) -
IsInside
protected boolean IsInside(float[] p, int i, int j) -
IsInside
public boolean IsInside(float[] p) -
clip_line
-
clip_line
-
clip_line
-
clip_polygon
-
clip_polygon
-
clip_polygon
-