RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Curve

Curve.IsInside(Double, Int32)

Method
Description:
Indicates whether the specified parameter value is within this curve's bounds and outputs the end index.
Remarks:
Always returns true if this curve is unbound.
Syntax
public bool IsInside(
	double parameter,
	out int end
)
Parameters
Parameter Type Description
parameter Double The raw curve parameter to be evaluated.
end Int32 The end index is equal to 0 for the start point, 1 for the end point, or -1 if the parameter is not at the end.
Return Value
Type Description
Boolean True if the parameter is within the curve's bounds, otherwise false.