---
title: "PatchSurface"
description: "API documentation for PatchSurface"
url: https://developer.disguise.one/python-api/docs/patchsurface/
---

# PatchSurface

See also: [Feed Guide](/plugins/guides/feed)

Base class: _\_BlipValue_

## Variables

#### **BEZIER** : _[Mat](/python-api/docs/mat#mat)_

#### **BSPLINE** : _[Mat](/python-api/docs/mat#mat)_

#### **CAMTULL\_ROM** : _[Mat](/python-api/docs/mat#mat)_

#### **HERMITE** : _[Mat](/python-api/docs/mat#mat)_

## Constructors

#### **\_\_init\_\_**(self)

#### **\_\_init\_\_**(self, basis: _[Mat](/python-api/docs/mat#mat)_)

#### **\_\_init\_\_**(self, other: _[PatchSurface](/python-api/docs/patchsurface#patchsurface)_)

Copy constructor for PatchSurface

## Methods

#### **eval**(self, u: _float_, v: _float_) -> _[Vec](/python-api/docs/vec#vec)_

#### **getBasis**(self) -> _[Mat](/python-api/docs/mat#mat)_

#### **getControlPoint**(self, x: _int_, y: _int_) -> _[Vec](/python-api/docs/vec#vec)_

#### **lerpInnerPoints**(self, biasX: _float_ = 0, biasY: _float_ = 0)

#### **setBasis**(self, m: _[Mat](/python-api/docs/mat#mat)_)

#### **setControlPoint**(self, x: _int_, y: _int_, cp: _[Vec](/python-api/docs/vec#vec) | [Vec2](/python-api/docs/vec2#vec2)_)
