Name |
Description |
|
constructor(): LineSegment3d Protected |
|
|
announceClipIntervals(clipper: Clipper, announce?: AnnounceNumberNumberCurvePrimitive): boolean |
Find intervals of this curve primitive that are interior to a clipper |
|
appendPlaneIntersectionPoints(plane: PlaneAltitudeEvaluator, result: CurveLocationDetail[]): number |
Compute points of simple (transverse) with a plane. |
|
clone(): LineSegment3d |
Clone the LineSegment3d |
|
clonePartialCurve(fractionA: number, fractionB: number): CurvePrimitive | undefined |
Return (if possible) a curve primitive which is a portion of this curve. |
|
cloneTransformed(transform: Transform): CurvePrimitive |
Clone and apply transform to the clone. |
|
closestPoint(spacePoint: Point3d, extend: VariantCurveExtendParameter, result?: CurveLocationDetail): CurveLocationDetail |
Returns a curve location detail with both xyz and fractional coordinates of the closest point. |
|
computeStrokeCountForOptions(options?: StrokeOptions): number |
return the stroke count required for given options. |
|
curveLength(): number |
Return the length of the segment. |
|
curveLengthBetweenFractions(fraction0: number, fraction1: number): number |
Return the length of the partial segment between fractions. |
|
dispatchToGeometryHandler(handler: GeometryHandler): any |
Second step of double dispatch: call handler.handleLineSegment3d(this) |
|
emitStrokableParts(handler: IStrokeHandler, options?: StrokeOptions): void |
Emit strokes to caller-supplied handler |
|
emitStrokes(dest: LineString3d, options?: StrokeOptions): void |
Emit strokes to caller-supplied linestring |
|
endPoint(result?: Point3d): Point3d |
Return a (clone of) the end point. |
|
extendRange(range: Range3d, transform?: Transform): void |
Extend a range to include the (optionally transformed) line segment |
|
fractionToPoint(fraction: number, result?: Point3d): Point3d |
Return the point at fractional position along the line segment. |
|
fractionToPointAnd2Derivatives(fraction: number, result?: Plane3dByOriginAndVectors): Plane3dByOriginAndVectors |
Construct a plane with |
|
fractionToPointAndDerivative(fraction: number, result?: Ray3d): Ray3d |
Return the point and derivative vector at fractional position along the line segment. |
|
getFractionToDistanceScale(): number | undefined |
A simple line segment's fraction and distance are proportional. |
|
isAlmostEqual(other: GeometryQuery): boolean |
Near equality test with other . |
|
isInPlane(plane: PlaneAltitudeEvaluator): boolean |
Test if both endpoints are in a plane (within tolerance) |
|
isSameGeometryClass(other: GeometryQuery): boolean |
test if other is of class LineSegment3d |
|
quickLength(): number |
Return the length of the segment. |
|
reverseInPlace(): void |
swap the endpoint references. |
|
set(point0: Point3d, point1: Point3d): void |
Set the start and endpoints by cloning the input parameters. |
|
setFrom(other: LineSegment3d): void |
copy (clone) data from other |
|
setFromJSON(json?: any): void |
Construct a line from either of these json forms: |
|
setRefs(point0: Point3d, point1: Point3d): void |
Set the start and endpoints by capturing input references. |
|
startPoint(result?: Point3d): Point3d |
Return a (clone of) the start point. |
|
toJSON(): any |
Place the lineSegment3d start and points in a json object |
|
tryTransformInPlace(transform: Transform): boolean |
Transform the two endpoints of this LinSegment. |
|
create(point0: Point3d, point1: Point3d, result?: LineSegment3d): LineSegment3d Static |
Create with start and end points. |
|
createCapture(point0: Point3d, point1: Point3d): LineSegment3d Static |
Create with start and end points. |
|
createXYXY(x0: number, y0: number, x1: number, y1: number, z: number = 0, result?: LineSegment3d): LineSegment3d Static |
create a LineSegment3d from xy coordinates of start and end, with common z. |
|
createXYZXYZ(x0: number, y0: number, z0: number, x1: number, y1: number, z1: number, result?: LineSegment3d): LineSegment3d Static |
create a LineSegment3d from xy coordinates of start and end, with common z. |
|
fromJSON(json?: any): LineSegment3d Static |
Create a new LineSegment3d with coordinates from json object. |
|