Package jgl.context.clipping
Class gl_cp_clipping
- java.lang.Object
-
- jgl.context.clipping.gl_clipping
-
- jgl.context.clipping.gl_cp_clipping
-
- Direct Known Subclasses:
gl_cp_color_clipping
,gl_cp_tex_clipping
public class gl_cp_clipping extends gl_clipping
gl_cp_clipping is the clipping class for clipping plane of JavaGL 2.1.- Version:
- 0.4, 3 Dev 1999
- Author:
- Robin Bing-Yu Chen
-
-
Field Summary
-
Fields inherited from class jgl.context.clipping.gl_clipping
CC, t
-
-
Constructor Summary
Constructors Constructor Description gl_cp_clipping(gl_context cc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description gl_vertex[]
clip_line(gl_vertex[] temp)
gl_polygon
clip_polygon(gl_polygon inlist)
protected gl_vertex
inter_point(gl_vertex v1, gl_vertex v2, float[] pl)
protected gl_vertex
inter_point(gl_vertex v1, gl_vertex v2, int xy, int j)
boolean
IsInside(float[] p)
protected boolean
IsInside(float[] p, int i, int j)
-
Methods inherited from class jgl.context.clipping.gl_clipping
clip_line, clip_line, clip_polygon, clip_polygon, inter_color, inter_point_neg, inter_point_pos, inter_tex, IsInside_neg, IsInside_pos
-
-
-
-
Constructor Detail
-
gl_cp_clipping
public gl_cp_clipping(gl_context cc)
-
-
Method Detail
-
inter_point
protected gl_vertex inter_point(gl_vertex v1, gl_vertex v2, int xy, int j)
- Overrides:
inter_point
in classgl_clipping
-
IsInside
protected boolean IsInside(float[] p, int i, int j)
- Overrides:
IsInside
in classgl_clipping
-
IsInside
public boolean IsInside(float[] p)
- Overrides:
IsInside
in classgl_clipping
-
clip_line
public gl_vertex[] clip_line(gl_vertex[] temp)
- Overrides:
clip_line
in classgl_clipping
-
clip_polygon
public gl_polygon clip_polygon(gl_polygon inlist)
- Overrides:
clip_polygon
in classgl_clipping
-
-