---
title: "DgnCircle"
url: "https://reference.aspose.com/cad/java/com.aspose.cad.fileformats.dgn/dgncircle/"
product: "Aspose.CAD for Java"
description: "Represents circle"
---


**Inheritance:** java.lang.Object, DgnArcBasedElement

Represents circle

## Constructors

| Constructor | Description |
| --- | --- |
| [DgnCircle(DgnPoint center, double radius, DgnQuaternion quaternion)](#DgnCircle-com.aspose.cad.fileformats.dgn.DgnPoint-double-com.aspose.cad.fileformats.dgn.dgntransform.DgnQuaternion) | Initializes a new instance of the DgnCircle class. |

## Methods

| Method | Description |
| --- | --- |
| [getCenter()](#getCenter) | Gets center point of circle |
| [getRadius()](#getRadius) | Gets radius of circle |

### DgnCircle(DgnPoint center, double radius, DgnQuaternion quaternion) {#DgnCircle-com.aspose.cad.fileformats.dgn.DgnPoint-double-com.aspose.cad.fileformats.dgn.dgntransform.DgnQuaternion}
```java
public DgnCircle(DgnPoint center, double radius, DgnQuaternion quaternion)
```

Initializes a new instance of the DgnCircle class.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| center | DgnPoint | The center. |
| radius | double | The radius. |
| quaternion | DgnQuaternion | The quaternion. |

### getCenter() {#getCenter}
```java
public DgnPoint getCenter()
```

Gets center point of circle

**Returns:** DgnPoint - The center.

### getRadius() {#getRadius}
```java
public double getRadius()
```

Gets radius of circle

**Returns:** double - The radius.

