@technobuddha > library > Geometry > Line Segment
Type Alias: OnLineOptions
ts
type OnLineOptions = {
extend?: boolean;
tolerance?: number;
};Defined in: is-on-line.ts:10
Options for the isOnLine function
Properties
| Property | Type | Default value | Description | Defined in |
|---|---|---|---|---|
extend? | boolean | false | If true, treats the segments as infinite lines; if false, only considers the actual segments. | src/is-on-line.ts:20 |
tolerance? | number | 1e-10 | Optional tolerance for floating-point comparison. | src/is-on-line.ts:15 |