EllipticalArcApproximationOptions Class

Options for generating samples for the construction of an approximation to an elliptical arc.

Methods

Name Description
clone(): EllipticalArcApproximationOptions Clone the options.  
create(method: EllipticalArcSampleMethodEllipticalArcSampleMethod.AdaptiveSubdivision, numSamplesInQuadrant: number4, maxError: number..., remapFunction: FractionMapper..., forcePath: booleanfalse): EllipticalArcApproximationOptions Static Construct options with optional defaults.  

Properties

Name Type Description
defaultMaxError Static number Default error tolerance.  
forcePath Accessor boolean Whether to return a Path instead of a Loop when approximating a full (closed) ellipse.  
forcePath Setter forcePath(value: boolean): void    
maxError Accessor number Maximum distance (in meters) of the computed approximation to the elliptical arc.  
maxError Setter maxError(error: number): void    
numSamplesInQuadrant Accessor number Number of samples to return in each full quadrant, including endpoint(s).  
numSamplesInQuadrant Setter numSamplesInQuadrant(numSamples: number): void    
remapFunction Accessor FractionMapper Callback function to remap fraction space to fraction space.  
remapFunction Setter remapFunction(f: FractionMapper): void    
sampleMethod Accessor EllipticalArcSampleMethod Method used to sample the elliptical arc.  
sampleMethod Setter sampleMethod(method: EllipticalArcSampleMethod): void    

Defined in

Last Updated: 29 April, 2025