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

The line.

## Constructors

| Constructor | Description |
| --- | --- |
| [Line()](#Line) |  |

## Methods

| Method | Description |
| --- | --- |
| [getOrigin()](#getOrigin) | Gets or sets the origin. Contains three floating-point numbers that describe the origin of the line. |
| [setOrigin(String value)](#setOrigin-java.lang.String) | Gets or sets the origin. Contains three floating-point numbers that describe the origin of the line. |
| [getDirection()](#getDirection) | Gets or sets the direction. Contains three floating-point numbers that describe the direction of the line as a unit vector. |
| [setDirection(String value)](#setDirection-java.lang.String) | Gets or sets the direction. Contains three floating-point numbers that describe the direction of the line as a unit vector. |
| [getExtra()](#getExtra) | Gets or sets the extra. |
| [setExtra(Extra[] value)](#setExtra-com.aspose.cad.fileformats.collada.fileparser.elements.Extra:A) | Gets or sets the extra. |

### Line() {#Line}
```java
public Line()
```

### getOrigin() {#getOrigin}
```java
public final String getOrigin()
```

Gets or sets the origin. Contains three floating-point numbers that describe the origin of the line.

**Returns:** String

### setOrigin(String value) {#setOrigin-java.lang.String}
```java
public final void setOrigin(String value)
```

Gets or sets the origin. Contains three floating-point numbers that describe the origin of the line.

### getDirection() {#getDirection}
```java
public final String getDirection()
```

Gets or sets the direction. Contains three floating-point numbers that describe the direction of the line as a unit vector.

**Returns:** String

### setDirection(String value) {#setDirection-java.lang.String}
```java
public final void setDirection(String value)
```

Gets or sets the direction. Contains three floating-point numbers that describe the direction of the line as a unit vector.

### getExtra() {#getExtra}
```java
public final Extra[] getExtra()
```

Gets or sets the extra.

**Returns:** Extra[]

### setExtra(Extra[] value) {#setExtra-com.aspose.cad.fileformats.collada.fileparser.elements.Extra:A}
```java
public final void setExtra(Extra[] value)
```

Gets or sets the extra.

