Uses of Class
com.aspose.threed.Geometry
-
-
Uses of Geometry in com.aspose.threed
Subclasses of Geometry in com.aspose.threed Modifier and Type Class Description class
Line
A line is a path defined by a set of points withgetControlPoints()
, and connected byLine.getIndices()
, which means it can also be a set of connected line segments.class
Mesh
A mesh is made of many n-sided polygons.class
NurbsCurve
NURBS curve is a curve represented by NURBS(Non-uniform rational basis spline), A NURBS curve is defined by itsNurbsCurve.getOrder()
, a set of weightedgetControlPoints()
and aNurbsCurve.getKnotVectors()
The w component in control point is used as control point's weight, whatever it is aCurveDimension.TWO_DIMENSIONAL
orCurveDimension.THREE_DIMENSIONAL
class
NurbsSurface
NurbsSurface
is a surface represented by NURBS(Non-uniform rational basis spline), ANurbsSurface
is defined by twoNurbsDirection
NurbsSurface.getU()
andNurbsSurface.getV()
.class
Patch
APatch
is a parametric modeling surface, similar toNurbsSurface
, it's also defined by twoPatchDirection
, thePatch.getU()
andPatch.getV()
.class
Shape
The shape describes the deformation on a set of control points, which is similar to the cluster deformer in Maya.Methods in com.aspose.threed that return Geometry Modifier and Type Method Description Geometry
Deformer. getOwner()
Gets the geometry which owns this deformerMethods in com.aspose.threed that return types with arguments of type Geometry Modifier and Type Method Description java.util.List<Geometry>
MorphTargetChannel. getTargets()
Gets all targets associated with the channel.Methods in com.aspose.threed with parameters of type Geometry Modifier and Type Method Description static BoundingBox
BoundingBox. fromGeometry(Geometry geometry)
Construct a bounding box from given geometrystatic VertexDeclaration
VertexDeclaration. fromGeometry(Geometry geometry, boolean useFloat)
Create aVertexDeclaration
based on aGeometry
's layout.double
MorphTargetChannel. get(Geometry target)
Gets the weight for specified geometrydouble
MorphTargetDeformer. get(Geometry target)
Gets the weight for given geometry, this is a short-handed way to modify weight for target without accessing channel.double
MorphTargetChannel. getWeight(Geometry target)
Gets the weight for the specified target, if the target is not belongs to this channel, default value 0 is returned.void
MorphTargetChannel. set(Geometry target, double value)
Sets the weight for specified geometryvoid
MorphTargetDeformer. set(Geometry target, double value)
Sets the weight for given geometry, this is a short-handed way to modify weight for target without accessing channel.void
MorphTargetChannel. setWeight(Geometry target)
Sets the weight for the specified target, default value is 1, range should between 0~1void
MorphTargetChannel. setWeight(Geometry target, double weight)
Sets the weight for the specified target, default value is 1, range should between 0~1
-