Click or drag to resize

Curve Class

[This is preliminary documentation and is subject to change.]

Base class for anything that represents a geometrical curve
Inheritance Hierarchy
SystemObject
  Infrastructure.Geometry.CurvesCurve
    Infrastructure.Geometry.CurvesCircularBase
    Infrastructure.Geometry.CurvesLine

Namespace:  Infrastructure.Geometry.Curves
Assembly:  Infrastructure.Geometry (in Infrastructure.Geometry.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
public abstract class Curve

The Curve type exposes the following members.

Constructors
  NameDescription
Protected methodCurve
Constructs a curve out of the provided points. There should be at least NumberOfPointsRequiredForRendering points provided
Top
Properties
  NameDescription
Public propertyBegin
The first point of the curve
Public propertyEnd
The last point of the curve
Public propertyNumberOfPointsRequiredForRendering
Determines how many points the curve needs in order to be rendered correctly
Public propertyPoints
The list of points that make up the curve
Top
Methods
  NameDescription
Protected methodCheckRelativeParameters
Checks the given relative parameters if they are OK
Protected methodDetermineRelativePart
Public methodGetAbsolutePart(Double, Double)
Retrieves an absolute part of the curve as new curve
Public methodGetAbsolutePart(Double, Double, Origin)
Retrieves an absolute part of the curve as a new curve. The origin parameter will dictate the direction of the curve
Public methodGetCoordinateSystemOnRelativePosition
Returns the coordinate system in a given point on the curve
Public methodGetPointOnPosition
Retrieve a point on the specified position of the curve
Public methodGetPositions
Generate a list of relative values that represent positions on the curve. All values are between 0 and 1
Public methodGetPositionsByApproximation
Generate a list of relative values that represent positions on the curve. The amount of values returned is determined by GetSegmentCount
Public methodGetPositionsByCount
Generate a number of relative values that represent positions on the curve. All values are between 0 and 1
Public methodGetRelativePart(Double, Double)
Retrieves a relative part of the curve as new curve
Public methodGetRelativePart(Double, Double, Origin)
Retrieves a relative part of the curve as a new curve. The origin parameter will dictate the direction of the curve
Public methodCode exampleGetSegmentCount
Determines out of how many "segments" the curve should exist when rendering.
Public methodGetTangentVector
Retrieves the tangent vector of the curve at the specified position
Public methodIsPointOn
Verifies the given point is on the curve
Public methodLength
Determines the length of the curve, in meters
Top
See Also