NurbsCurve
Vue de l’ensemble
‘NurbsCurve’ est une classe dans Aspose.3D FOSS pour .NET. hérite de: ‘Courve’, ‘INamedObject’.
La courbe NURBS est une couronne représentée par la Nurbs (spline non uniforme de base rationnelle), Une courba Nursse est définie par ses points de contrôle, un ensemble de points d’épaisseur et un vecteur nocturne Le composant w dans le point de commande est utilisé comme poids du point d’ordre, qu’il soit 2D ou 3D.
Cette classe fournit 12 méthodes pour travailler avec les objets NurbsCurve dans des programmes .NET. Les méthodologies disponibles comprennent : ‘A3DObject’, ‘Entity’, Evaluate', ‘EvalueAt’, 'FindProperty', ’GetBoundingBox', ‚GatEntitiRendererKey',‘GitPoperty’, ‘NurbsPurv’, RemoveProverty, 'SceneObject et ‘SetPropriété’. Tous les membres publics sont accessibles à n’importe quelle application .Net après l’installation de l’ASPOSE.3D FOSS pour le package .net. Propriétés: ‘Color’, ‘‘ControlPoints` , ‘CourveType’, d’Degree, ‘‘Dimension’’ et plus.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
ControlPoints | IArrayList<Vector4> | Read | Gets the control points. |
Multiplicity | IArrayList<int> | Read | Gets the multiplicity. |
Order | int | Read/Write | Gets or sets the order. |
Degree | int | Read/Write | Gets or sets the degree. |
Dimension | CurveDimension | Read/Write | Gets or sets the dimension. |
CurveType | NurbsType | Read/Write | Gets or sets the curve type. |
KnotVectors | IArrayList<double> | Read | Gets the knot vectors. |
Rational | bool | Read/Write | Gets or sets the rational. |
Color | Vector3 | Read/Write | Gets or sets the color. |
Excluded | bool | Read/Write | Gets or sets the excluded. |
ParentNodes | List<Node> | Read | Gets the parent nodes. |
ParentNode | Node | Read/Write | Gets or sets the parent node. |
Scene | Scene | Read | Gets the scene. |
Name | string | Read/Write | Gets or sets the name. |
Properties | PropertyCollection | Read | Gets the properties. |
méthodes
| Signature | Description |
|---|---|
NurbsCurve() | |
NurbsCurve(name: string) | The name of the NurbsCurve |
Evaluate(steps: int) | Not implemented in the FOSS edition — throws at runtime. Evaluate the NURBS curve |
EvaluateAt(u: double) | Not implemented in the FOSS edition — throws at runtime. Evaluate the curve’s point at specified position |
GetEntityRendererKey() | Gets the key of the entity renderer registered in the renderer |
Entity(name: string) | |
GetBoundingBox() | Gets the bounding box of current entity in its object space coordinate system. |
SceneObject(name: string) | |
A3DObject() | |
RemoveProperty(property: Property) | Removes a dynamic property. |
GetProperty(property: string) | Get the value of specified property |
SetProperty(property: string, value: object?) | Sets the value of specified property |
FindProperty(propertyName: string) | Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name) |
Voir aussi
- Aspose.3D - référence API d’entreprise