Package com.aspose.threed
Class TrimmedCurve
- java.lang.Object
-
- com.aspose.threed.A3DObject
-
- com.aspose.threed.SceneObject
-
- com.aspose.threed.Entity
-
- com.aspose.threed.Curve
-
- com.aspose.threed.TrimmedCurve
-
- All Implemented Interfaces:
INamedObject
public class TrimmedCurve extends Curve
A bounded curve that trimmed the basis curve at both ends.
-
-
Field Summary
-
Fields inherited from class com.aspose.threed.A3DObject
name, properties
-
-
Constructor Summary
Constructors Constructor Description TrimmedCurve()
Constructor ofTrimmedCurve
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Curve
getBasisCurve()
The basis curve to be trimmed.EndPoint
getFirst()
The first end point to trim, can be a Cartesian point or a real parameter.boolean
getSameDirection()
Gets whether the trimmed result uses the same direction of the basis curve.EndPoint
getSecond()
The second end point to trim, can be a Cartesian point or a real parameter.void
setBasisCurve(Curve value)
The basis curve to be trimmed.void
setFirst(EndPoint value)
The first end point to trim, can be a Cartesian point or a real parameter.void
setSameDirection(boolean value)
Sets whether the trimmed result uses the same direction of the basis curve.void
setSecond(EndPoint value)
The second end point to trim, can be a Cartesian point or a real parameter.-
Methods inherited from class com.aspose.threed.Curve
getColor, getEntityRendererKey, setColor
-
Methods inherited from class com.aspose.threed.Entity
getBoundingBox, getExcluded, getParentNode, getParentNodes, setExcluded, setParentNode
-
Methods inherited from class com.aspose.threed.SceneObject
getScene
-
Methods inherited from class com.aspose.threed.A3DObject
findProperty, getName, getProperties, getProperty, removeProperty, removeProperty, setName, setProperty
-
-
-
-
Constructor Detail
-
TrimmedCurve
public TrimmedCurve()
Constructor ofTrimmedCurve
-
-
Method Detail
-
getBasisCurve
public Curve getBasisCurve()
The basis curve to be trimmed.
-
setBasisCurve
public void setBasisCurve(Curve value)
The basis curve to be trimmed.- Parameters:
value
- New value
-
getFirst
public EndPoint getFirst()
The first end point to trim, can be a Cartesian point or a real parameter.
-
setFirst
public void setFirst(EndPoint value)
The first end point to trim, can be a Cartesian point or a real parameter.- Parameters:
value
- New value
-
getSecond
public EndPoint getSecond()
The second end point to trim, can be a Cartesian point or a real parameter.
-
setSecond
public void setSecond(EndPoint value)
The second end point to trim, can be a Cartesian point or a real parameter.- Parameters:
value
- New value
-
getSameDirection
public boolean getSameDirection()
Gets whether the trimmed result uses the same direction of the basis curve.
-
setSameDirection
public void setSameDirection(boolean value)
Sets whether the trimmed result uses the same direction of the basis curve.- Parameters:
value
- New value
-
-