SurfaceCoordinate

Surface coordinates are used to define a 2D position (U', V') on a work surface.

Example

application = cf.Application.getInstance()
project = application:NewProject()

    -- Create some surface geometry

paraboloid = project.Contents.Geometry:AddParaboloid(cf.Paraboloid.GetDefaultProperties())
workSurface = project.Definitions.WorkSurfaces:Add(paraboloid.Faces["Face1"], 1)
surfaceLine = project.Contents.Geometry:AddSurfaceLine(workSurface, 0.35, 0.35, 0.5, 0.5)

    -- Modify the surface end coordinate

surfaceLine.EndPoint.U = "0.6"
surfaceLine.EndPoint.V = "0.4"

Inheritance

The SurfaceCoordinate object is derived from the CompositeValue object.

Usage locations

The SurfaceCoordinate object can be accessed from the following locations:

Property List

U
The U' coordinate. (Read/Write Dimension)
V
The V' coordinate. (Read/Write Dimension)

Property Details

U
The U' coordinate.
Type
Dimension
Access
Read/Write
V
The V' coordinate.
Type
Dimension
Access
Read/Write