
**Inheritance:**
java.lang.Object
```
public static class CompositeCurve.Segment
```

The curve segment
## Constructors

| Constructor | Description |
| --- | --- |
| [Segment()](#Segment--) |  |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getCurve()](#getCurve--) | The curve used in the segment |
| [getSameDirection()](#getSameDirection--) | Use the same direction of the original curve, or use reversed direction |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setCurve(Curve value)](#setCurve-com.aspose.threed.Curve-) | The curve used in the segment |
| [setSameDirection(boolean value)](#setSameDirection-boolean-) | Use the same direction of the original curve, or use reversed direction |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### Segment() {#Segment--}
```
public Segment()
```


### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getCurve() {#getCurve--}
```
public Curve getCurve()
```


The curve used in the segment

**Returns:**
[Curve](../../com.aspose.threed/curve) - The curve used in the segment
### getSameDirection() {#getSameDirection--}
```
public boolean getSameDirection()
```


Use the same direction of the original curve, or use reversed direction

**Returns:**
boolean - Use the same direction of the original curve, or use reversed direction
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### setCurve(Curve value) {#setCurve-com.aspose.threed.Curve-}
```
public void setCurve(Curve value)
```


The curve used in the segment

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [Curve](../../com.aspose.threed/curve) | New value |

### setSameDirection(boolean value) {#setSameDirection-boolean-}
```
public void setSameDirection(boolean value)
```


Use the same direction of the original curve, or use reversed direction

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean | New value |

### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

