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:

Property List

N
The local N coordinate. (Read/Write Dimension)
U
The local U coordinate. (Read/Write Dimension)
V
The local V coordinate. (Read/Write Dimension)

Property Details

N
The local N coordinate.
Type
Dimension
Access
Read/Write
U
The local U coordinate.
Type
Dimension
Access
Read/Write
V
The local V coordinate.
Type
Dimension
Access
Read/Write