Package com.aspose.threed
Class Line
- java.lang.Object
-
- com.aspose.threed.A3DObject
-
- com.aspose.threed.Entity
-
- com.aspose.threed.Geometry
-
- com.aspose.threed.Line
-
public class Line extends Geometry
A line is a path defined by a set of points withGeometry.getControlPoints()
, and connected bygetIndices()
, which means it can also be a set of connected line segments. The line is usually a linear object, which means it cannot be used to represent a curve, in order to represent a curve, usesNurbsCurve
.
-
-
Method Summary
Modifier and Type Method Description java.util.List<java.lang.Integer>
getIndices()
Gets the indices.void
makeDefaultIndices()
Generate the sequence 0,1,2,3....Geometry.getControlPoints()
.Length-1 togetIndices()
so the ControlPoints can be used as a single line-
Methods inherited from class com.aspose.threed.Geometry
addElement, createElement, createElement, createElementUV, createElementUV, getBoundingBox, getCastShadows, getControlPoints, getDeformers, getDeformers2, getElement, getReceiveShadows, getVertexElementOfUV, getVertexElements, getVisible, setCastShadows, setReceiveShadows, setVisible
-
Methods inherited from class com.aspose.threed.Entity
createRenderableResource, getExcluded, getParentNode, getParentNodes, setExcluded, setParentNode
-
Methods inherited from class com.aspose.threed.A3DObject
findProperty, getName, getProperty, removeProperty, removeProperty, setName, setProperty
-
-
-
-
Method Detail
-
getIndices
public java.util.List<java.lang.Integer> getIndices()
Gets the indices.
-
makeDefaultIndices
public void makeDefaultIndices()
Generate the sequence 0,1,2,3....Geometry.getControlPoints()
.Length-1 togetIndices()
so the ControlPoints can be used as a single line
-
-