CurveLocationDetail Class

CurveLocationDetail carries point and paramter data about a point evaluated on a curve.

  • These are returned by a variety of queries.
  • Particular contents can vary among the queries.

Methods

Name Description
constructor(): CurveLocationDetail    
clone(result?: CurveLocationDetail): CurveLocationDetail Return a complete copy, WITH CAVEATS .  
setCurve(curve: CurvePrimitive): void Set the CurvePrimitive pointer, leaving all other properties untouched.  
setDistanceTo(point: Point3d): void record the distance from the CurveLocationDetail's point to the parameter point.  
setFP(fraction: number, point: Point3d, vector?: Vector3d, a: number = 0): void Updated in this instance.  
setFR(fraction: number, ray: Ray3d, a: number = 0): void Updated in this instance.  
setIntervalRole(value: CurveIntervalRole): void Set the (optional) intervalRole field  
updateIfCloserCurveFractionPointDistance(curve: CurvePrimitive, fraction: number, point: Point3d, a: number): boolean update or create if closer than current contents.  
create(curve: CurvePrimitive, result?: CurveLocationDetail): CurveLocationDetail Static create with a CurvePrimitive pointer but no coordinate data.  
createConditionalMoveSignedDistance(allowExtension: boolean, curve: CurvePrimitive, startFraction: number, endFraction: number, requestedSignedDistance: number, result?: CurveLocationDetail): CurveLocationDetail Static create with curveSearchStatus affected by allowExtension.  
createCurveEvaluatedFraction(curve: CurvePrimitive, fraction: number, result?: CurveLocationDetail): CurveLocationDetail Static create with CurvePrimitive pointer, fraction, and point coordinates.  
createCurveFractionPoint(curve: CurvePrimitive, fraction: number, point: Point3d, result?: CurveLocationDetail): CurveLocationDetail Static create with CurvePrimitive pointer, fraction, and point coordinates.  
createCurveFractionPointDistance(curve: CurvePrimitive, fraction: number, point: Point3d, a: number, result?: CurveLocationDetail): CurveLocationDetail Static create with CurvePrimitive pointer, fraction, and point coordinates.  
createCurveFractionPointDistanceCurveSearchStatus(curve: CurvePrimitive, fraction: number, point: Point3d, distance: number, status: CurveSearchStatus, result?: CurveLocationDetail): CurveLocationDetail Static create with CurvePrimitive pointer, fraction, and point coordinates  
createRayFractionPoint(ray: Ray3d, fraction: number, point: Point3d, result?: CurveLocationDetail): CurveLocationDetail Static Create a new detail with only ray, fraction, and point.  

Properties

Name Type Description
a number A context-specific numeric value.  
childDetail undefined | CurveLocationDetail optional CurveLocationDetail with more detail of location.  
curve undefined | CurvePrimitive The curve being evaluated  
curveSearchStatus undefined | CurveSearchStatus A status indicator for certain searches.  
fraction number The fractional position along the curve  
intervalRole undefined | CurveIntervalRole Detail condition of the role this point has in some context  
isIsolated Accessor ReadOnly boolean test if this is an isolated point.  
point Point3d The point on the curve  
pointQ Point3d A context-specific additional point  
ray undefined | Ray3d optional ray  
vectorInCurveLocationDetail undefined | Vector3d A vector (e.g.  

Defined in

Last Updated: 13 October, 2019