“Point clipping is a process which is used to define the point position.” The point is either inside the view pane (window) or outside the view pane.

In computer graphics, the computer screen work like a two-dimensional coordinate system. Each point does not need to be displayed inside the computer screen.

It includes two terms-

**Window:**It means what to display?**Clipping:**It means discarding the portion that is outside the window.

**Example: **Let us have a view
pane (window). The coordinates of the window are-

**(xw _{max}, xw_{min}) – **For
X-axis of the window

**(yw _{max}, yw_{min}) – **For
Y-axis of the window

Let us assume a point coordinate (P, Q). If the point lies inside the window, then there is no need to perform point clipping. But if the point lies outside the window, we need to perform clipping. We can understand it by the following equation-

**xw _{max }<= P <= xw_{min}**

**yw _{max }<= Q <= yw_{min}**

There are four conditions; if these four are satisfied, then the point lies inside the window. If anyone condition is not satisfied, then the point lies outside the window, it means we have to perform clipping on the point.

**xw _{min }<= P**

**xw _{max }=> P**

**yw _{min }<= Q**

**yw _{max }=> Q**

### Algorithm of Point Clipping:

**Step 1: **First, we set the
value of **xw _{min}** and

**xw**coordinates for the window.

_{max}**Step 2: **Now, set the
coordinates of a given point (P, Q).

**Step 3: **Nowcheck the
above mention condition.

**Step 4: **If

Point coordinates lie between the **(xw _{min}, xw_{max})**
and

**(yw**

_{min}, yw_{max})**
**Then

**{**Display the point in
the view pane**} **

**
**Else

**{**Removethe
point**}**

**Step 5: **Stop.