LinearExtrusion
Vue de l’ensemble
‘LinearExtrusion’ est une classe dans Aspose.3D FOSS pour .NET. Inhérents de: ‘Entity’, ‘INamedObject’, `IMeshConvertible’.
L’extraction linéaire prend une forme 2D comme entrée et étend la forme dans la 3ème dimension.
Cette classe fournit 11 méthodes pour travailler avec les objets d’extraction linéaire dans des programmes .NET. Les méthodologies disponibles comprennent : ‘A3DObject’, ‘Entity’, FindProperty', ‘GetBoundingBox’, 'GatEntITYRendererKey', ’GitPoperty’, ‘LinearExtrusion’, RemovePropriété’, ’SceneObject’, ‚SetProbacy‘, ‘ToMesh. 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: 'Center', ‚Direction‘ , 'Excluded', ''Height, Name Parent Node et plus.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
Shape | Profile | Read/Write | Gets or sets the shape. |
Direction | Vector3 | Read/Write | Gets or sets the direction. |
Height | double | Read/Write | Gets or sets the height. |
Slices | int | Read/Write | Gets or sets the slices. |
Center | bool | Read/Write | Gets or sets the center. |
TwistOffset | Vector3 | Read/Write | Gets or sets the twist offset. |
Twist | double | Read/Write | Gets or sets the twist. |
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 |
|---|---|
LinearExtrusion() | |
LinearExtrusion(shape: Profile, height: double) | The height of the extruded geometry |
ToMesh() | Not implemented in the FOSS edition — throws at runtime. Convert the extrusion to mesh. |
Entity(name: string) | |
GetBoundingBox() | Gets the bounding box of current entity in its object space coordinate system. |
GetEntityRendererKey() | Gets the key of the entity renderer registered in the renderer |
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