Creates a floating Tangent defined by an entity and a pass-through point, whether to append or prepend to the specified entity is determined by the closest point to the passPoint.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 10.3.488.0

Syntax

C#
public ProfileTangent AddFloatingTangent(
	uint entityId,
	Point2d passPoint,
	EntityAttachType attachType
)
Visual Basic
Public Function AddFloatingTangent ( _
	entityId As UInteger, _
	passPoint As Point2d, _
	attachType As EntityAttachType _
) As ProfileTangent
Visual C++
public:
ProfileTangent^ AddFloatingTangent(
	unsigned int entityId, 
	Point2d passPoint, 
	EntityAttachType attachType
)

Parameters

entityId
Type: System..::..UInt32
Id of the entity to attach to.
passPoint
Type: Point2d
The pass-through point.
attachType
Type: Autodesk.Civil.DatabaseServices..::..EntityAttachType
Specifies whether you want to append or prepend the new entity.

Remarks

Point2d.X and Point2d.Y are the profile's station and elevation respectively.

See Also