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
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
-
Method Summary
Modifier and TypeMethodDescriptionclip_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 Details
-
gl_cp_clipping
-
-
Method Details
-
inter_point
-
inter_point
- 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
- Overrides:
clip_line
in classgl_clipping
-
clip_polygon
- Overrides:
clip_polygon
in classgl_clipping
-