LinearExtrusion

LinearExtrusion

Overview

LinearExtrusion is a class in Aspose.3D FOSS for .NET. Inherits from: Entity, INamedObject, IMeshConvertible.

Linear extrusion takes a 2D shape as input and extends the shape in the 3rd dimension.

This class provides 11 methods for working with LinearExtrusion objects in .NET programs. Available methods include: A3DObject, Entity, FindProperty, GetBoundingBox, GetEntityRendererKey, GetProperty, LinearExtrusion, RemoveProperty, SceneObject, SetProperty, ToMesh. All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package. Properties: Center, Direction, Excluded, Height, Name, ParentNode, and 7 more.

Properties

NameTypeAccessDescription
ShapeProfileRead/WriteGets or sets the shape.
DirectionVector3Read/WriteGets or sets the direction.
HeightdoubleRead/WriteGets or sets the height.
SlicesintRead/WriteGets or sets the slices.
CenterboolRead/WriteGets or sets the center.
TwistOffsetVector3Read/WriteGets or sets the twist offset.
TwistdoubleRead/WriteGets or sets the twist.
ExcludedboolRead/WriteGets or sets the excluded.
ParentNodesList<Node>ReadGets the parent nodes.
ParentNodeNodeRead/WriteGets or sets the parent node.
SceneSceneReadGets the scene.
NamestringRead/WriteGets or sets the name.
PropertiesPropertyCollectionReadGets the properties.

Methods

SignatureDescription
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)

See Also