LocalVector
Local vector typically define a vector in the coordinate system.
Example
application = cf.Application.GetInstance() project = application:NewProject() -- Create a flare to rotate flare = project.Contents.Geometry:AddFlare(cf.Point(0, 0, 0), 1, 1, 1, 0.5, 0.5) -- Set up the origin and axis of rotation rotationOrigin = cf.Point(3, 1, 1) rotationAxis = cf.Point(1, 2, 0) -- Rotate the flare by 25 degrees rotate = flare.Transforms:AddRotate(rotationOrigin, rotationAxis, 25) -- Modify the rotation axis rotate.Axis = cf.Point(1, 0, 1)
Inheritance
The LocalVector object is derived from the LocalCoordinate object.
Usage locations
The LocalVector object can be accessed from the following locations:
- Properties
- Rotate object has property Axis.
- Spin object has property AxisDirection.
- Methods
- LocalVectorList object has method Append().
- LocalVectorList object has method Get(number).